From 07e00b3040d6da381595c65db5afe597f20d99fc Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 15 Feb 2012 13:33:07 -0800 Subject: i965: Split the VS binding table to a separate table. This is a step toward making the samplers/binding tables reflect sampler uniform mappings instead of embedding those in the programs. No significant performance difference on the microbenchmark (n=10). Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_vec4_emit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965/brw_vec4_emit.cpp') diff --git a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp index f9eed61d92c..9df7b11f5ad 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp @@ -465,7 +465,7 @@ vec4_visitor::generate_tex(vec4_instruction *inst, dst, inst->base_mrf, src, - SURF_INDEX_TEXTURE(inst->sampler), + SURF_INDEX_VS_TEXTURE(inst->sampler), inst->sampler, WRITEMASK_XYZW, msg_type, -- cgit v1.2.3