spirv: Like Uniform, do nothing for UniformId
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -751,6 +751,7 @@ struct_member_decoration_cb(struct vtn_builder *b,
|
|||||||
switch (dec->decoration) {
|
switch (dec->decoration) {
|
||||||
case SpvDecorationRelaxedPrecision:
|
case SpvDecorationRelaxedPrecision:
|
||||||
case SpvDecorationUniform:
|
case SpvDecorationUniform:
|
||||||
|
case SpvDecorationUniformId:
|
||||||
break; /* FIXME: Do nothing with this for now. */
|
break; /* FIXME: Do nothing with this for now. */
|
||||||
case SpvDecorationNonWritable:
|
case SpvDecorationNonWritable:
|
||||||
vtn_handle_access_qualifier(b, ctx->type, member, ACCESS_NON_WRITEABLE);
|
vtn_handle_access_qualifier(b, ctx->type, member, ACCESS_NON_WRITEABLE);
|
||||||
@@ -980,6 +981,7 @@ type_decoration_cb(struct vtn_builder *b,
|
|||||||
case SpvDecorationNonWritable:
|
case SpvDecorationNonWritable:
|
||||||
case SpvDecorationNonReadable:
|
case SpvDecorationNonReadable:
|
||||||
case SpvDecorationUniform:
|
case SpvDecorationUniform:
|
||||||
|
case SpvDecorationUniformId:
|
||||||
case SpvDecorationLocation:
|
case SpvDecorationLocation:
|
||||||
case SpvDecorationComponent:
|
case SpvDecorationComponent:
|
||||||
case SpvDecorationOffset:
|
case SpvDecorationOffset:
|
||||||
|
@@ -1501,6 +1501,7 @@ apply_var_decoration(struct vtn_builder *b,
|
|||||||
case SpvDecorationMatrixStride:
|
case SpvDecorationMatrixStride:
|
||||||
case SpvDecorationAliased:
|
case SpvDecorationAliased:
|
||||||
case SpvDecorationUniform:
|
case SpvDecorationUniform:
|
||||||
|
case SpvDecorationUniformId:
|
||||||
case SpvDecorationLinkageAttributes:
|
case SpvDecorationLinkageAttributes:
|
||||||
break; /* Do nothing with these here */
|
break; /* Do nothing with these here */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user