Commit 4cd6e2eb authored by George Kyriazis's avatar George Kyriazis

swr/rast: Shorten some filenames

in shader and fetch dump files
Reviewed-by: Bruce Cherniak's avatarBruce Cherniak <bruce.cherniak@intel.com>
parent 3936044d
......@@ -513,7 +513,7 @@ struct BlendJit : public Builder
Function* Create(const BLEND_COMPILE_STATE& state)
{
std::stringstream fnName("BlendShader_", std::ios_base::in | std::ios_base::out | std::ios_base::ate);
std::stringstream fnName("BLND_", std::ios_base::in | std::ios_base::out | std::ios_base::ate);
fnName << ComputeCRC(0, &state, sizeof(state));
// blend function signature
......
......@@ -133,7 +133,7 @@ struct FetchJit : public Builder
Function* FetchJit::Create(const FETCH_COMPILE_STATE& fetchState)
{
std::stringstream fnName("FetchShader_", std::ios_base::in | std::ios_base::out | std::ios_base::ate);
std::stringstream fnName("FCH_", std::ios_base::in | std::ios_base::out | std::ios_base::ate);
fnName << ComputeCRC(0, &fetchState, sizeof(fetchState));
Function* fetch = Function::Create(JM()->mFetchShaderTy, GlobalValue::ExternalLinkage, fnName.str(), JM()->mpCurrentModule);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment