mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
anv: emit sample mask state independent of fragment stage
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7861 Fixes:9f6af43743("anv: dynamic multisample sample mask") Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20221> (cherry picked from commit68ef0d8448)
This commit is contained in:
parent
bcc73ba6f7
commit
e17740493f
2 changed files with 1 additions and 5 deletions
|
|
@ -2272,7 +2272,7 @@
|
|||
"description": "anv: emit sample mask state independent of fragment stage",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "9f6af43743d3dfed018e384e056da3b587d5f46d"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -257,13 +257,9 @@ genX(cmd_emit_te)(struct anv_cmd_buffer *cmd_buffer)
|
|||
static void
|
||||
genX(cmd_emit_sample_mask)(struct anv_cmd_buffer *cmd_buffer)
|
||||
{
|
||||
struct anv_graphics_pipeline *pipeline = cmd_buffer->state.gfx.pipeline;
|
||||
const struct vk_dynamic_graphics_state *dyn =
|
||||
&cmd_buffer->vk.dynamic_graphics_state;
|
||||
|
||||
if (!anv_pipeline_has_stage(pipeline, MESA_SHADER_FRAGMENT))
|
||||
return;
|
||||
|
||||
/* From the Vulkan 1.0 spec:
|
||||
* If pSampleMask is NULL, it is treated as if the mask has all bits
|
||||
* enabled, i.e. no coverage is removed from fragments.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue