projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9661fc9
)
compiler/spirv: Fix uses of gnu struct = {} extension
author
Pierre Moreau
<pierre.morrow@free.fr>
Wed, 27 Nov 2019 19:50:12 +0000
(20:50 +0100)
committer
Vinson Lee
<vlee@freedesktop.org>
Wed, 11 Dec 2019 06:03:22 +0000
(06:03 +0000)
Fixes: a24d6fbae60 ("meson: Add -Werror=gnu-empty-initializer to MSVC compat args")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tested-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Pierre Moreau <dev@pmoreau.org>
src/compiler/spirv/spirv2nir.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/spirv2nir.c
b/src/compiler/spirv/spirv2nir.c
index 48d2694c96351ddcf5e37e172bd1df0c6be4d6ca..0ab86442bfe0ce5b077f5febd32b52e32889eef6 100644
(file)
--- a/
src/compiler/spirv/spirv2nir.c
+++ b/
src/compiler/spirv/spirv2nir.c
@@
-72,7
+72,7
@@
int main(int argc, char **argv)
return 1;
}
- struct spirv_to_nir_options spirv_opts = {};
+ struct spirv_to_nir_options spirv_opts = {
0
};
nir_shader *nir = spirv_to_nir(map, word_count, NULL, 0,
MESA_SHADER_FRAGMENT, "main",