mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
genxml: Make the border color pointer consistent across gens
This commit is contained in:
parent
eecd1f8001
commit
e941fd8470
3 changed files with 3 additions and 7 deletions
|
|
@ -412,7 +412,7 @@
|
|||
<value name="PROGRAMMED" value="0"/>
|
||||
<value name="OVERRIDE" value="1"/>
|
||||
</field>
|
||||
<field name="Indirect State Pointer" start="70" end="87" type="uint"/>
|
||||
<field name="Border Color Pointer" start="70" end="87" type="offset"/>
|
||||
<field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
|
||||
<value name="MIPNONE" value="0"/>
|
||||
<value name="MIPFILTER" value="1"/>
|
||||
|
|
|
|||
|
|
@ -437,7 +437,7 @@
|
|||
<value name="PROGRAMMED" value="0"/>
|
||||
<value name="OVERRIDE" value="1"/>
|
||||
</field>
|
||||
<field name="Indirect State Pointer" start="70" end="87" type="uint"/>
|
||||
<field name="Border Color Pointer" start="70" end="87" type="offset"/>
|
||||
<field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
|
||||
<value name="MIPNONE" value="0"/>
|
||||
<value name="MIPFILTER" value="1"/>
|
||||
|
|
|
|||
|
|
@ -231,11 +231,7 @@ VkResult genX(CreateSampler)(
|
|||
.ShadowFunction = vk_to_gen_compare_op[pCreateInfo->compareOp],
|
||||
.CubeSurfaceControlMode = OVERRIDE,
|
||||
|
||||
#if GEN_GEN >= 8
|
||||
.IndirectStatePointer = border_color_offset >> 6,
|
||||
#else
|
||||
.BorderColorPointer = border_color_offset >> 5,
|
||||
#endif
|
||||
.BorderColorPointer = border_color_offset,
|
||||
|
||||
#if GEN_GEN >= 8
|
||||
.LODClampMagnificationMode = MIPNONE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue