mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 21:00:22 +01:00
aco: Initialize ds_state.front.writeMask.
Fix defect reported by Coverity Scan. Uninitialized scalar variable (UNINIT) uninit_use: Using uninitialized value ds_state.front. Field ds_state.front.writeMask is uninitialized. Fixes:d488d0fd7b("aco: add framework for testing isel and integration tests") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9033> (cherry picked from commit7cc83f237e)
This commit is contained in:
parent
f8921a493b
commit
a0f4bac7dc
2 changed files with 2 additions and 1 deletions
|
|
@ -1111,7 +1111,7 @@
|
|||
"description": "aco: Initialize ds_state.front.writeMask.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "d488d0fd7baff77204dbd3fd0d625b5974728534"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -647,6 +647,7 @@ void PipelineBuilder::create_graphics_pipeline() {
|
|||
ds_state.front.depthFailOp = VK_STENCIL_OP_REPLACE;
|
||||
ds_state.front.compareOp = VK_COMPARE_OP_ALWAYS;
|
||||
ds_state.front.compareMask = 0xffffffff,
|
||||
ds_state.front.writeMask = 0;
|
||||
ds_state.front.reference = 0;
|
||||
ds_state.back = ds_state.front;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue