radv: constify a variable in radv_emit_depth_control()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26847>
This commit is contained in:
parent
8b7b5be98b
commit
aa1eb54b3b
1 changed files with 1 additions and 1 deletions
|
|
@ -2336,7 +2336,7 @@ static void
|
|||
radv_emit_depth_control(struct radv_cmd_buffer *cmd_buffer)
|
||||
{
|
||||
const struct radv_rendering_state *render = &cmd_buffer->state.render;
|
||||
struct radv_dynamic_state *d = &cmd_buffer->state.dynamic;
|
||||
const struct radv_dynamic_state *d = &cmd_buffer->state.dynamic;
|
||||
const bool stencil_test_enable =
|
||||
d->vk.ds.stencil.test_enable && (render->ds_att_aspects & VK_IMAGE_ASPECT_STENCIL_BIT);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue