summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2015-06-19 14:46:03 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2015-06-23 15:33:16 -0700
commitc7893dc3c590b86787d8118e3920debaea3f16da (patch)
treee347e8de39fbb73cd208e8688499733cd6b6455e /src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
parent6e255a3299c9ec5208cb5519b5da2edb0ce2972b (diff)
downloadexternal_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/brw_vec4_gs_visitor.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
index b047aa1..d3754de 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
@@ -41,8 +41,7 @@ vec4_gs_visitor::vec4_gs_visitor(struct brw_context *brw,
bool no_spills)
: vec4_visitor(brw, &c->base, &c->gp->program.Base, &c->key.base,
&c->prog_data.base, prog, MESA_SHADER_GEOMETRY, mem_ctx,
- no_spills,
- ST_GS, ST_GS_WRITTEN, ST_GS_RESET),
+ no_spills, ST_GS),
c(c)
{
}