Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
assert(member < ctx->num_fields);
switch (dec->decoration) {
+ case SpvDecorationNonWritable:
case SpvDecorationRelaxedPrecision:
break; /* FIXME: Do nothing with this for now. */
case SpvDecorationNoPerspective:
/* Handle decorations that apply to a vtn_variable as a whole */
switch (dec->decoration) {
+ case SpvDecorationNonWritable:
+ /* Do nothing with this for now */
+ return;
case SpvDecorationBinding:
vtn_var->binding = dec->literals[0];
return;