diff options
Diffstat (limited to 'src/compiler/spirv/vtn_variables.c')
-rw-r--r-- | src/compiler/spirv/vtn_variables.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index 6ff2e83515a..8dab86abd74 100644 --- a/src/compiler/spirv/vtn_variables.c +++ b/src/compiler/spirv/vtn_variables.c @@ -1298,7 +1298,6 @@ apply_var_decoration(struct vtn_builder *b, case SpvDecorationMatrixStride: case SpvDecorationAliased: case SpvDecorationUniform: - case SpvDecorationStream: case SpvDecorationLinkageAttributes: break; /* Do nothing with these here */ @@ -1337,6 +1336,10 @@ apply_var_decoration(struct vtn_builder *b, var_data->offset = dec->literals[0]; break; + case SpvDecorationStream: + var_data->stream = dec->literals[0]; + break; + case SpvDecorationCPacked: case SpvDecorationSaturatedConversion: case SpvDecorationFuncParamAttr: |