diff options
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r-- | src/compiler/spirv/vtn_variables.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index 5af27bfdb11..4f21fdd4cac 100644 --- a/src/compiler/spirv/vtn_variables.c +++ b/src/compiler/spirv/vtn_variables.c @@ -1405,6 +1405,10 @@ vtn_storage_class_to_mode(SpvStorageClass class, assert(!"Invalid uniform variable type"); } break; + case SpvStorageClassStorageBuffer: + mode = vtn_variable_mode_ssbo; + nir_mode = 0; + break; case SpvStorageClassUniformConstant: if (glsl_type_is_image(interface_type->type)) { mode = vtn_variable_mode_image; |