projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compiler/spirv: Fix uses of gnu struct = {} extension
[mesa.git]
/
src
/
compiler
/
spirv
/
spirv2nir.c
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",