aco: Initialize ds_state.front.writeMask.
authorVinson Lee <vlee@freedesktop.org>
Sun, 14 Feb 2021 04:21:55 +0000 (20:21 -0800)
committerVinson Lee <vlee@freedesktop.org>
Mon, 22 Feb 2021 03:33:00 +0000 (19:33 -0800)
commit7cc83f237efe1fdba075d07b18450c4345d2dc7f
treeaf1a3b1bba92a65640502388b5ebd8d60dc755f8
parent9f474bd4b48954d0423856fd4ee1d676ee45e171
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: d488d0fd7ba ("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>
src/amd/compiler/tests/helpers.cpp