swr/rast: Shorten some filenames
in shader and fetch dump files Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user