swr/rast: Shorten some filenames

in shader and fetch dump files

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
George Kyriazis 2018-01-19 15:47:04 -06:00
parent 3936044d07
commit 4cd6e2ebfd
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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);