From: Jason Ekstrand Date: Fri, 12 May 2017 01:59:11 +0000 (-0700) Subject: intel/genxml: Sampler state is a pointer on gen4-5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ee1ef0cbbd82c413a38a158ed6643fb1c580004;p=mesa.git intel/genxml: Sampler state is a pointer on gen4-5 Reviewed-by: Topi Pohjolainen --- 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