mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 03:20:33 +01:00
panfrost: Fix negative LOD bias support on Bifrost
The LOD bias can be negative, so mark it as signed in the XML. The code in pan_cmdstream.c already calls FIXED_16 with 'allow_negative' set to true, so doesn't need to be adjusted. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8130>
This commit is contained in:
parent
3a2a005404
commit
1baddfcff6
1 changed files with 1 additions and 1 deletions
|
|
@ -707,7 +707,7 @@
|
|||
<field name="Minimum LOD" size="13" start="1:0" type="uint" default="0"/>
|
||||
<field name="Compare Function" size="3" start="1:13" type="Func" default="Never"/>
|
||||
<field name="Maximum LOD" size="13" start="1:16" type="uint" default="0"/>
|
||||
<field name="LOD bias" size="16" start="2:0" type="uint" default="0"/>
|
||||
<field name="LOD bias" size="16" start="2:0" type="int" default="0"/>
|
||||
<field name="Maximum anisotropy" size="5" start="2:16" type="uint"/>
|
||||
<field name="Anisotropy" size="1" start="2:25" type="bool"/>
|
||||
<field name="Border Color R" size="32" start="4:0" type="float" default="0.0"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue