summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2016-10-12 20:04:26 +0100
committerLionel Landwerlin <[email protected]>2016-10-18 22:43:41 +0100
commit0ca134aa9f71b7a27b81caa78f9477aea948f0d7 (patch)
treed224b2fb3b175a56eefdecda00e0b117cce9109e
parent5567145d59d5d539474fb68155dba4dec716e32e (diff)
intel: genxml: add SAMPLER_BORDER_COLOR_STATE structures
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/intel/genxml/gen6.xml32
-rw-r--r--src/intel/genxml/gen7.xml12
-rw-r--r--src/intel/genxml/gen75.xml22
-rw-r--r--src/intel/genxml/gen8.xml12
-rw-r--r--src/intel/genxml/gen9.xml12
5 files changed, 90 insertions, 0 deletions
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index 211716b638c..7ba89547926 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -372,6 +372,38 @@
<field name="MOCS" start="176" end="179" type="uint"/>
</struct>
+ <struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
+ <field name="Border Color Unorm Red" start="0" end="7" type="uint"/>
+ <field name="Border Color Unorm Green" start="8" end="15" type="uint"/>
+ <field name="Border Color Unorm Blue" start="16" end="23" type="uint"/>
+ <field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/>
+
+ <field name="Border Color Float Red" start="32" end="63" type="float"/>
+ <field name="Border Color Float Green" start="64" end="95" type="float"/>
+ <field name="Border Color Float Blue" start="96" end="127" type="float"/>
+ <field name="Border Color Float Alpha" start="128" end="159" type="float"/>
+
+ <field name="Border Color Float16 Red" start="160" end="175" type="uint"/>
+ <field name="Border Color Float16 Green" start="176" end="191" type="uint"/>
+ <field name="Border Color Float16 Blue" start="192" end="207" type="uint"/>
+ <field name="Border Color Float16 Alpha" start="208" end="223" type="uint"/>
+
+ <field name="Border Color Unorm16 Red" start="224" end="239" type="uint"/>
+ <field name="Border Color Unorm16 Green" start="240" end="255" type="uint"/>
+ <field name="Border Color Unorm16 Blue" start="256" end="271" type="uint"/>
+ <field name="Border Color Unorm16 Alpha" start="272" end="287" type="uint"/>
+
+ <field name="Border Color Snorm16 Red" start="288" end="303" type="int"/>
+ <field name="Border Color Snorm16 Green" start="304" end="319" type="int"/>
+ <field name="Border Color Snorm16 Blue" start="320" end="335" type="int"/>
+ <field name="Border Color Snorm16 Alpha" start="336" end="351" type="int"/>
+
+ <field name="Border Color Snorm8 Red" start="352" end="359" type="int"/>
+ <field name="Border Color Snorm8 Green" start="360" end="367" type="int"/>
+ <field name="Border Color Snorm8 Blue" start="368" end="375" type="int"/>
+ <field name="Border Color Snorm8 Alpha" start="376" end="383" type="int"/>
+ </struct>
+
<struct name="SAMPLER_STATE" length="4">
<field name="Sampler Disable" start="31" end="31" type="bool"/>
<field name="Texture Border Color Mode" start="29" end="29" type="uint">
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
index eabb244fe93..a950603030d 100644
--- a/src/intel/genxml/gen7.xml
+++ b/src/intel/genxml/gen7.xml
@@ -428,6 +428,18 @@
<field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
</struct>
+ <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
+ <field name="Border Color Unorm Red" start="0" end="7" type="uint"/>
+ <field name="Border Color Unorm Green" start="8" end="15" type="uint"/>
+ <field name="Border Color Unorm Blue" start="16" end="23" type="uint"/>
+ <field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/>
+
+ <field name="Border Color Float Red" start="0" end="31" type="float"/>
+ <field name="Border Color Float Green" start="32" end="63" type="float"/>
+ <field name="Border Color Float Blue" start="64" end="95" type="float"/>
+ <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
+ </struct>
+
<struct name="SAMPLER_STATE" length="4">
<field name="Sampler Disable" start="31" end="31" type="bool"/>
<field name="Texture Border Color Mode" start="29" end="29" type="uint">
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 27a12cb90de..2c522d544a2 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -438,6 +438,28 @@
<field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
</struct>
+ <struct name="SAMPLER_BORDER_COLOR_STATE" length="20">
+ <field name="Border Color Float Red" start="0" end="31" type="float"/>
+ <field name="Border Color Float Green" start="32" end="63" type="float"/>
+ <field name="Border Color Float Blue" start="64" end="95" type="float"/>
+ <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
+
+ <field name="Border Color 8bit Red" start="512" end="519" type="uint"/>
+ <field name="Border Color 8bit Green" start="520" end="527" type="uint"/>
+ <field name="Border Color 8bit Blue" start="528" end="535" type="uint"/>
+ <field name="Border Color 8bit Alpha" start="536" end="543" type="uint"/>
+
+ <field name="Border Color 16bit Red" start="512" end="527" type="uint"/>
+ <field name="Border Color 16bit Green" start="528" end="543" type="uint"/>
+ <field name="Border Color 16bit Blue" start="576" end="591" type="uint"/>
+ <field name="Border Color 16bit Alpha" start="592" end="607" type="uint"/>
+
+ <field name="Border Color 32bit Red" start="512" end="543" type="uint"/>
+ <field name="Border Color 32bit Green" start="544" end="575" type="uint"/>
+ <field name="Border Color 32bit Blue" start="576" end="607" type="uint"/>
+ <field name="Border Color 32bit Alpha" start="608" end="639" type="uint"/>
+ </struct>
+
<struct name="SAMPLER_STATE" length="4">
<field name="Sampler Disable" start="31" end="31" type="bool"/>
<field name="Texture Border Color Mode" start="29" end="29" type="uint">
diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml
index 1455aa18fef..73c92651dde 100644
--- a/src/intel/genxml/gen8.xml
+++ b/src/intel/genxml/gen8.xml
@@ -358,6 +358,18 @@
<field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
</struct>
+ <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
+ <field name="Border Color Float Red" start="0" end="31" type="float"/>
+ <field name="Border Color Float Green" start="32" end="63" type="float"/>
+ <field name="Border Color Float Blue" start="64" end="95" type="float"/>
+ <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
+
+ <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
+ <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
+ <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
+ <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
+ </struct>
+
<struct name="SAMPLER_STATE" length="4">
<field name="Sampler Disable" start="31" end="31" type="bool"/>
<field name="Texture Border Color Mode" start="29" end="29" type="uint">
diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
index bf6ce800e8a..0dfce3fb176 100644
--- a/src/intel/genxml/gen9.xml
+++ b/src/intel/genxml/gen9.xml
@@ -382,6 +382,18 @@
<field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
</struct>
+ <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
+ <field name="Border Color Float Red" start="0" end="31" type="float"/>
+ <field name="Border Color Float Green" start="32" end="63" type="float"/>
+ <field name="Border Color Float Blue" start="64" end="95" type="float"/>
+ <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
+
+ <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
+ <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
+ <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
+ <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
+ </struct>
+
<struct name="SAMPLER_STATE" length="4">
<field name="Sampler Disable" start="31" end="31" type="bool"/>
<field name="Texture Border Color Mode" start="29" end="29" type="uint">