diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-06-19 14:46:03 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-06-23 15:33:16 -0700 |
commit | c7893dc3c590b86787d8118e3920debaea3f16da (patch) | |
tree | e347e8de39fbb73cd208e8688499733cd6b6455e /src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp | |
parent | 6e255a3299c9ec5208cb5519b5da2edb0ce2972b (diff) | |
download | external_mesa3d-c7893dc3c590b86787d8118e3920debaea3f16da.zip external_mesa3d-c7893dc3c590b86787d8118e3920debaea3f16da.tar.gz external_mesa3d-c7893dc3c590b86787d8118e3920debaea3f16da.tar.bz2 |
i965: Use a single index per shader for shader_time.
Previously, each shader took 3 shader time indices which were potentially
at arbirary points in the shader time buffer. Now, each shader gets a
single index which refers to 3 consecutive locations in the buffer. This
simplifies some of the logic at the cost of having a magic 3 a few places.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Diffstat (limited to 'src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp b/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp index 2ef52e9..8a86736 100644 --- a/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp +++ b/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp @@ -48,8 +48,7 @@ public: struct gl_shader_program *shader_prog) : vec4_visitor(brw, NULL, NULL, NULL, NULL, shader_prog, MESA_SHADER_VERTEX, NULL, - false /* no_spills */, - ST_NONE, ST_NONE, ST_NONE) + false /* no_spills */, ST_NONE) { } |