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>
This commit is contained in:
@@ -666,6 +666,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;
|
||||
|
||||
|
Reference in New Issue
Block a user