mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 04:50:11 +01:00
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:
parent
6ece4f3fa0
commit
c2f6efbc8a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue