aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-05-11 18:59:11 -0700
committerJason Ekstrand <[email protected]>2017-05-26 07:58:01 -0700
commit0ee1ef0cbbd82c413a38a158ed6643fb1c580004 (patch)
tree5b77a17f66a3149be1d1cbac03010bd8e18a3965 /src/mesa
parent64243d3b8e299eae70d4aac7221cbc55d8ff378c (diff)
intel/genxml: Sampler state is a pointer on gen4-5
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/genX_state_upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c
index 5fad3b72e27..0d02b3fb884 100644
--- a/src/mesa/drivers/dri/i965/genX_state_upload.c
+++ b/src/mesa/drivers/dri/i965/genX_state_upload.c
@@ -1827,7 +1827,7 @@ genX(upload_vs_state)(struct brw_context *brw)
CLAMP(brw->urb.nr_vs_entries / 2, 1, devinfo->max_vs_threads) - 1;
vs.StatisticsEnable = false;
- vs.SamplerStateOffset =
+ vs.SamplerStatePointer =
instruction_ro_bo(brw->batch.bo, stage_state->sampler_offset);
#endif