aboutsummaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-10-13 13:11:15 -0700
committerEric Anholt <[email protected]>2017-11-19 10:12:30 -0800
commit514db90448ece28f6acaffea6358c715c47b359a (patch)
tree07c58fde34d54aeb90445f6b8ec6bf7f89c5e960 /src/broadcom
parent65ae4527d928d12dff349680e35469f9503c7f08 (diff)
broadcom/vc5: Fix up integer texture handling.
The original spec I had didn't expose integer textures and suggested that you use unfiltered floats. Now there are proper formats for them. Fixes 16- and 32-bit texwrap integer tests in piglit, and dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgb10_a2ui.
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/cle/v3d_packet_v33.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml
index 165e489d4cd..7633ff6f3b0 100644
--- a/src/broadcom/cle/v3d_packet_v33.xml
+++ b/src/broadcom/cle/v3d_packet_v33.xml
@@ -939,5 +939,28 @@
<value name="Texture Data Format ASTC_10x10" value="75"/>
<value name="Texture Data Format ASTC_12x10" value="76"/>
<value name="Texture Data Format ASTC_12x12" value="77"/>
+
+ <value name="Texture Data Format R8I" value="96"/>
+ <value name="Texture Data Format R8UI" value="97"/>
+ <value name="Texture Data Format RG8I" value="98"/>
+ <value name="Texture Data Format RG8UI" value="99"/>
+ <value name="Texture Data Format RGBA8I" value="100"/>
+ <value name="Texture Data Format RGBA8UI" value="101"/>
+
+ <value name="Texture Data Format R16I" value="102"/>
+ <value name="Texture Data Format R16UI" value="103"/>
+ <value name="Texture Data Format RG16I" value="104"/>
+ <value name="Texture Data Format RG16UI" value="105"/>
+ <value name="Texture Data Format RGBA16I" value="106"/>
+ <value name="Texture Data Format RGBA16UI" value="107"/>
+
+ <value name="Texture Data Format R32I" value="108"/>
+ <value name="Texture Data Format R32UI" value="109"/>
+ <value name="Texture Data Format RG32I" value="110"/>
+ <value name="Texture Data Format RG32UI" value="111"/>
+ <value name="Texture Data Format RGBA32I" value="112"/>
+ <value name="Texture Data Format RGBA32UI" value="113"/>
+ <value name="Texture Data Format RGB10_A2UI" value="114"/>
+
</enum>
</vcxml>