summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-11-28 00:48:57 -0800
committerEric Anholt <eric@anholt.net>2014-01-17 12:58:37 -0800
commit26a3bf5c726199d7664d5878ef1f73592e55caa7 (patch)
tree866d451e766d88368d1a411bd088a7587fa96be5 /src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
parent877128505431adaf817dc8069172ebe4a1cdf5d8 (diff)
downloadexternal_mesa3d-26a3bf5c726199d7664d5878ef1f73592e55caa7.zip
external_mesa3d-26a3bf5c726199d7664d5878ef1f73592e55caa7.tar.gz
external_mesa3d-26a3bf5c726199d7664d5878ef1f73592e55caa7.tar.bz2
i965: Stop doing our optimization on a copy of the GLSL IR.
The original intent was that we'd keep a driver-private copy, and there would be the normal copy for swrast to make use of without the tuning (or anything more invasive we might do) specific to i965. Only, we don't generate swrast code any more, because swrast can't render current shaders anyway. Thus, our private copy is rather a waste, and we can just do our backend-specific operations on the linked shader. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
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.cpp2
1 files changed, 1 insertions, 1 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 c93459d..5d5b169 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
@@ -546,7 +546,7 @@ brw_gs_emit(struct brw_context *brw,
if (unlikely(INTEL_DEBUG & DEBUG_GS)) {
printf("GLSL IR for native geometry shader %d:\n", prog->Name);
- _mesa_print_ir(shader->ir, NULL);
+ _mesa_print_ir(shader->base.ir, NULL);
printf("\n\n");
}