Mesa (master): swr/rast: Shorten some filenames
George Kyriazis
gkyriazis at kemper.freedesktop.org
Fri Jan 19 23:04:29 UTC 2018
Module: Mesa
Branch: master
Commit: 4cd6e2ebfd0bbfb10edc0d87ea89344de32dde2f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4cd6e2ebfd0bbfb10edc0d87ea89344de32dde2f
Author: George Kyriazis <george.kyriazis at intel.com>
Date: Fri Jan 19 15:47:04 2018 -0600
swr/rast: Shorten some filenames
in shader and fetch dump files
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
---
src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp | 2 +-
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp b/src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp
index cc92622978..a819765855 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp
@@ -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
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
index 87363d27ef..351ff0bf9c 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
@@ -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);
More information about the mesa-commit
mailing list