diff options
author | Jason Ekstrand <[email protected]> | 2017-05-11 18:59:11 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-26 07:58:01 -0700 |
commit | 0ee1ef0cbbd82c413a38a158ed6643fb1c580004 (patch) | |
tree | 5b77a17f66a3149be1d1cbac03010bd8e18a3965 /src | |
parent | 64243d3b8e299eae70d4aac7221cbc55d8ff378c (diff) |
intel/genxml: Sampler state is a pointer on gen4-5
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/genxml/gen4.xml | 6 | ||||
-rw-r--r-- | src/intel/genxml/gen45.xml | 6 | ||||
-rw-r--r-- | src/intel/genxml/gen5.xml | 6 | ||||
-rw-r--r-- | 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 @@ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/> <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> <field name="Number of URB Entries" start="139" end="146" type="uint"/> - <field name="Sampler State Offset" start="165" end="191" type="address"/> + <field name="Sampler State Pointer" start="165" end="191" type="address"/> <field name="Sampler Count" start="160" end="162" type="uint"/> <field name="Reorder Enable" start="222" end="222" type="bool"/> <field name="Discard Adjacency" start="221" end="221" type="bool"/> @@ -750,7 +750,7 @@ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> <field name="Number of URB Entries" start="139" end="146" type="uint"/> <field name="Statistics Enable" start="138" end="138" type="bool"/> - <field name="Sampler State Offset" start="165" end="191" type="address"/> + <field name="Sampler State Pointer" start="165" end="191" type="address"/> <field name="Sampler Count" start="160" end="162" type="uint"/> <field name="Vertex Cache Disable" start="193" end="193" type="bool"/> <field name="Enable" start="192" end="192" type="bool"/> @@ -779,7 +779,7 @@ <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/> <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/> <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> - <field name="Sampler State Offset" start="133" end="159" type="address"/> + <field name="Sampler State Pointer" start="133" end="159" type="address"/> <field name="Sampler Count" start="130" end="132" type="uint"/> <field name="Statistics Enable" start="128" end="128" type="bool"/> <field name="Maximum Number of Threads" start="185" end="191" type="uint"/> 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 @@ <field name="Number of URB Entries" start="139" end="146" type="uint"/> <field name="GS Statistics Enable" start="138" end="138" type="bool"/> <field name="Rendering Enable" start="136" end="136" type="bool"/> - <field name="Sampler State Offset" start="165" end="191" type="address"/> + <field name="Sampler State Pointer" start="165" end="191" type="address"/> <field name="Sampler Count" start="160" end="162" type="uint"/> <field name="Reorder Enable" start="222" end="222" type="bool"/> <field name="Discard Adjacency" start="221" end="221" type="bool"/> @@ -701,7 +701,7 @@ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> <field name="Number of URB Entries" start="139" end="146" type="uint"/> <field name="Statistics Enable" start="138" end="138" type="bool"/> - <field name="Sampler State Offset" start="165" end="191" type="address"/> + <field name="Sampler State Pointer" start="165" end="191" type="address"/> <field name="Sampler Count" start="160" end="162" type="uint"/> <field name="Vertex Cache Disable" start="193" end="193" type="bool"/> <field name="Enable" start="192" end="192" type="bool"/> @@ -731,7 +731,7 @@ <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/> <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/> <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> - <field name="Sampler State Offset" start="133" end="159" type="address"/> + <field name="Sampler State Pointer" start="133" end="159" type="address"/> <field name="Sampler Count" start="130" end="132" type="uint"/> <field name="Statistics Enable" start="128" end="128" type="bool"/> <field name="Maximum Number of Threads" start="185" end="191" type="uint"/> 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 @@ <field name="GS Statistics Enable" start="138" end="138" type="bool"/> <field name="SO Statistics Enable" start="137" end="137" type="bool"/> <field name="Rendering Enable" start="136" end="136" type="bool"/> - <field name="Sampler State Offset" start="165" end="191" type="address"/> + <field name="Sampler State Pointer" start="165" end="191" type="address"/> <field name="Sampler Count" start="160" end="162" type="uint"/> <field name="Reorder Enable" start="222" end="222" type="bool"/> <field name="Maximum VPIndex" start="192" end="195" type="uint"/> @@ -857,7 +857,7 @@ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> <field name="Number of URB Entries" start="139" end="146" type="uint"/> <field name="Statistics Enable" start="138" end="138" type="bool"/> - <field name="Sampler State Offset" start="165" end="191" type="address"/> + <field name="Sampler State Pointer" start="165" end="191" type="address"/> <field name="Sampler Count" start="160" end="162" type="uint"/> <field name="Vertex Cache Disable" start="193" end="193" type="bool"/> <field name="Enable" start="192" end="192" type="bool"/> @@ -886,7 +886,7 @@ <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/> <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/> <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> - <field name="Sampler State Offset" start="133" end="159" type="address"/> + <field name="Sampler State Pointer" start="133" end="159" type="address"/> <field name="Sampler Count" start="130" end="132" type="uint"/> <field name="Statistics Enable" start="128" end="128" type="bool"/> <field name="Maximum Number of Threads" start="185" end="191" type="uint"/> 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 |