diff options
author | Timothy Arceri <[email protected]> | 2015-08-05 20:27:24 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2015-08-05 21:16:45 +1000 |
commit | 2c61d583f8c931fc9834dd852b1c960c95acefb5 (patch) | |
tree | 0608ef70dd85f3a86a5d275a3375f783c857b31f /src/glsl | |
parent | 03b7221dbb93e2439f30b2e0918f6215eb741979 (diff) |
nir: add missing type to type_size_vec4()
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/nir/nir_lower_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_lower_io.c b/src/glsl/nir/nir_lower_io.c index 3c179299bd9..71bfd347c1a 100644 --- a/src/glsl/nir/nir_lower_io.c +++ b/src/glsl/nir/nir_lower_io.c @@ -62,6 +62,8 @@ type_size_vec4(const struct glsl_type *type) size += type_size_vec4(glsl_get_struct_field(type, i)); } return size; + case GLSL_TYPE_SUBROUTINE: + return 1; case GLSL_TYPE_SAMPLER: return 0; case GLSL_TYPE_ATOMIC_UINT: |