projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dea1a9
)
vk/meta: Fix -Wstrict-prototypes
author
Chad Versace
<chad.versace@intel.com>
Wed, 7 Oct 2015 16:09:37 +0000
(09:09 -0700)
committer
Chad Versace
<chad.versace@intel.com>
Wed, 7 Oct 2015 16:10:25 +0000
(09:10 -0700)
In C, functions with no arguments require a void argument.
build_nir_clear_fragment_shader() lacked that.
Fixes:
anv_meta.c:70:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
src/vulkan/anv_meta.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_meta.c
b/src/vulkan/anv_meta.c
index a0b7070ebfeba2350ebc0bce20691fbebd969f3b..c0e4112f363620890093238b7758ff48a6505d81 100644
(file)
--- a/
src/vulkan/anv_meta.c
+++ b/
src/vulkan/anv_meta.c
@@
-67,7
+67,7
@@
build_nir_vertex_shader(bool attr_flat)
}
static nir_shader *
-build_nir_clear_fragment_shader()
+build_nir_clear_fragment_shader(
void
)
{
nir_builder b;