mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 09:00:10 +01:00
spirv: fix typo in spec_constant_decoration_cb()
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
41969f0d06
commit
d1bbe2c94e
1 changed files with 2 additions and 2 deletions
|
|
@ -930,7 +930,7 @@ vtn_null_constant(struct vtn_builder *b, const struct glsl_type *type)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
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,
|
int member, const struct vtn_decoration *dec,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
|
|
@ -952,7 +952,7 @@ static uint32_t
|
||||||
get_specialization(struct vtn_builder *b, struct vtn_value *val,
|
get_specialization(struct vtn_builder *b, struct vtn_value *val,
|
||||||
uint32_t const_value)
|
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;
|
return const_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue