[Mesa-dev] [PATCH 01/22] spirv: fix typo in spec_constant_decoration_cb()
Juan A. Suarez Romero
jasuarez at igalia.com
Fri Nov 25 08:52:31 UTC 2016
From: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
src/compiler/spirv/spirv_to_nir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index 34968a4..c28d425 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -932,7 +932,7 @@ vtn_null_constant(struct vtn_builder *b, const struct glsl_type *type)
}
static void
-spec_constant_deocoration_cb(struct vtn_builder *b, struct vtn_value *v,
+spec_constant_decoration_cb(struct vtn_builder *b, struct vtn_value *v,
int member, const struct vtn_decoration *dec,
void *data)
{
@@ -954,7 +954,7 @@ static uint32_t
get_specialization(struct vtn_builder *b, struct vtn_value *val,
uint32_t const_value)
{
- vtn_foreach_decoration(b, val, spec_constant_deocoration_cb, &const_value);
+ vtn_foreach_decoration(b, val, spec_constant_decoration_cb, &const_value);
return const_value;
}
--
2.7.4
More information about the mesa-dev
mailing list