microsoft/clc: {} for struct initialize to avoid warning

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36723>
This commit is contained in:
Yonggang Luo 2025-08-11 19:46:54 +08:00 committed by Marge Bot
parent 6ece4f3fa0
commit c2f6efbc8a

View file

@ -478,7 +478,7 @@ ComputeTest::run_shader_with_raw_args(Shader shader,
if (args.size() != shader.dxil->kernel->num_args)
throw runtime_error("incorrect number of inputs");
struct clc_runtime_kernel_conf conf = { 0 };
struct clc_runtime_kernel_conf conf = {};
// Older WARP and some hardware doesn't support int64, so for these tests, unconditionally lower away int64
// A more complex runtime can be smarter about detecting when this needs to be done