tu/kgsl: Fix bitfield of DITHER_MODE_MRT6

The enum `adreno_rb_dither_mode` needs 2 bits, change the `high` to 13 to make sure 2 bits are used for `DITHER_MODE_MRT6`

Fixes: e03259974e ("freedreno: Generate headers from xml files")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25439>
(cherry picked from commit e90f9d8e21)
This commit is contained in:
wangra 2023-09-27 13:11:00 -04:00 committed by Eric Engestrom
parent 04a8cc5c51
commit 415f2a6a9c
2 changed files with 2 additions and 2 deletions

View file

@ -832,7 +832,7 @@
"description": "tu/kgsl: Fix bitfield of DITHER_MODE_MRT6",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "e03259974e2f2c8e8c0295f8dab56d88e7bd896c"
},

View file

@ -2182,7 +2182,7 @@ to upconvert to 32b float internally?
<bitfield name="DITHER_MODE_MRT3" low="6" high="7" type="adreno_rb_dither_mode"/>
<bitfield name="DITHER_MODE_MRT4" low="8" high="9" type="adreno_rb_dither_mode"/>
<bitfield name="DITHER_MODE_MRT5" low="10" high="11" type="adreno_rb_dither_mode"/>
<bitfield name="DITHER_MODE_MRT6" low="12" high="12" type="adreno_rb_dither_mode"/>
<bitfield name="DITHER_MODE_MRT6" low="12" high="13" type="adreno_rb_dither_mode"/>
<bitfield name="DITHER_MODE_MRT7" low="14" high="15" type="adreno_rb_dither_mode"/>
</reg32>
<reg32 offset="0x880f" name="RB_SRGB_CNTL">