projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03b7221
)
nir: add missing type to type_size_vec4()
author
Timothy Arceri
<t_arceri@yahoo.com.au>
Wed, 5 Aug 2015 10:27:24 +0000
(20:27 +1000)
committer
Timothy Arceri
<t_arceri@yahoo.com.au>
Wed, 5 Aug 2015 11:16:45 +0000
(21:16 +1000)
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/glsl/nir/nir_lower_io.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir_lower_io.c
b/src/glsl/nir/nir_lower_io.c
index 3c179299bd976ce172db3d7d44c1f0e8330f516f..71bfd347c1affd254ce67dd6107ac7da26549e61 100644
(file)
--- 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: