mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
panfrost: Fix nonzero stencil mask on vertex/compute
Probably harmless but looks funny in the decode. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6712>
This commit is contained in:
parent
f3109c4579
commit
322ddbd538
2 changed files with 2 additions and 1 deletions
|
|
@ -521,7 +521,7 @@
|
|||
|
||||
<struct name="Stencil">
|
||||
<field name="Reference Value" size="8" start="0" type="uint"/>
|
||||
<field name="Mask" size="8" start="8" type="uint" default="0xFF"/>
|
||||
<field name="Mask" size="8" start="8" type="uint"/>
|
||||
<field name="Compare Function" size="3" start="16" type="Func"/>
|
||||
<field name="Stencil Fail" size="3" start="19" type="Stencil Op"/>
|
||||
<field name="Depth Fail" size="3" start="22" type="Stencil Op"/>
|
||||
|
|
|
|||
|
|
@ -270,6 +270,7 @@ panfrost_load_midg(
|
|||
cfg.stencil_front.stencil_fail = MALI_STENCIL_OP_REPLACE;
|
||||
cfg.stencil_front.depth_fail = MALI_STENCIL_OP_REPLACE;
|
||||
cfg.stencil_front.depth_pass = MALI_STENCIL_OP_REPLACE;
|
||||
cfg.stencil_front.mask = 0xFF;
|
||||
|
||||
cfg.stencil_back = cfg.stencil_front;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue