diff options
author | Kristian H. Kristensen <[email protected]> | 2019-11-01 15:16:44 -0700 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-11-07 16:36:33 -0800 |
commit | 50124afe3408108dc742c81dca3c071194ed678d (patch) | |
tree | 7a86225c66cc45c5f7d918559558460ba37b8e02 /src/freedreno/registers/a6xx.xml | |
parent | 0276d0766d4b62d28097d74a049808b1e10c1f9b (diff) |
freedreno/a6xx: Fix layered texture type enum
2D array textures and 3D textures are different enum values after all.
Signed-off-by: Kristian H. Kristensen <[email protected]>
Acked-by: Eric Anholt <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/registers/a6xx.xml')
-rw-r--r-- | src/freedreno/registers/a6xx.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/freedreno/registers/a6xx.xml b/src/freedreno/registers/a6xx.xml index 4763c47b7d1..3f78cd58cf7 100644 --- a/src/freedreno/registers/a6xx.xml +++ b/src/freedreno/registers/a6xx.xml @@ -1859,9 +1859,10 @@ to upconvert to 32b float internally? <reg32 offset="0x8003" name="GRAS_UNKNOWN_8003"/> <enum name="a6xx_layer_type"> - <value value="0x0" name="MULTISAMPLE_ARRAY"/> - <value value="0x1" name="ARRAY"/> <!-- 2d array and 3d --> - <value value="0x2" name="CUBEMAP"/> + <value value="0x0" name="LAYER_MULTISAMPLE_ARRAY"/> + <value value="0x1" name="LAYER_3D"/> + <value value="0x2" name="LAYER_CUBEMAP"/> + <value value="0x3" name="LAYER_2D_ARRAY"/> </enum> <reg32 offset="0x8004" name="GRAS_LAYER_CNTL"> |