From 0ee1ef0cbbd82c413a38a158ed6643fb1c580004 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 11 May 2017 18:59:11 -0700 Subject: [PATCH] intel/genxml: Sampler state is a pointer on gen4-5 Reviewed-by: Topi Pohjolainen --- src/intel/genxml/gen4.xml | 6 +++--- src/intel/genxml/gen45.xml | 6 +++--- src/intel/genxml/gen5.xml | 6 +++--- src/mesa/drivers/dri/i965/genX_state_upload.c | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/intel/genxml/gen4.xml b/src/intel/genxml/gen4.xml index 27dd8ffffc2..0d6812558f6 100644 --- a/src/intel/genxml/gen4.xml +++ b/src/intel/genxml/gen4.xml @@ -477,7 +477,7 @@ - + @@ -750,7 +750,7 @@ - + @@ -779,7 +779,7 @@ - + diff --git a/src/intel/genxml/gen45.xml b/src/intel/genxml/gen45.xml index e63f3bdaf3f..de6552c990e 100644 --- a/src/intel/genxml/gen45.xml +++ b/src/intel/genxml/gen45.xml @@ -480,7 +480,7 @@ - + @@ -701,7 +701,7 @@ - + @@ -731,7 +731,7 @@ - + diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml index 72d79687741..8ae9290aadd 100644 --- a/src/intel/genxml/gen5.xml +++ b/src/intel/genxml/gen5.xml @@ -479,7 +479,7 @@ - + @@ -857,7 +857,7 @@ - + @@ -886,7 +886,7 @@ - + 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 -- 2.30.2