mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 03:40:10 +01:00
swr/rast: Shorten some filenames
in shader and fetch dump files Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
3936044d07
commit
4cd6e2ebfd
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue