v3dv: drop redundant emission of stencil state
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 18 Mar 2020 12:33:28 +0000 (13:33 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:28 +0000 (21:21 +0000)
If needed we are already calling this at draw time since stencil
can be dynamic state.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>

src/broadcom/vulkan/v3dv_cmd_buffer.c

index 9505f5d..e414ac9 100644 (file)
@@ -2294,8 +2294,6 @@ emit_graphics_pipeline(struct v3dv_cmd_buffer *cmd_buffer)
       config.early_z_updates_enable = job->ez_state != VC5_EZ_DISABLED;
    }
 
-   emit_stencil(cmd_buffer);
-
    const uint32_t num_flags =
       ARRAY_SIZE(pipeline->fs->prog_data.fs->flat_shade_flags);
    const uint32_t *flat_shade_flags =