projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c63a2d
)
glsl: fix component size calculation for tessellation and geom shaders
author
Timothy Arceri
<t_arceri@yahoo.com.au>
Mon, 28 Sep 2015 01:03:19 +0000
(11:03 +1000)
committer
Timothy Arceri
<t_arceri@yahoo.com.au>
Mon, 28 Sep 2015 01:31:50 +0000
(11:31 +1000)
Broken in commit
abdab88b30ab
when adding arrays of arrays support
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/glsl/link_varyings.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/link_varyings.cpp
b/src/glsl/link_varyings.cpp
index 0d343d64a2effdd18517e65e357864e275a87ede..7e77a675db15a860bd93dc49f55a8cf7e360f640 100644
(file)
--- a/
src/glsl/link_varyings.cpp
+++ b/
src/glsl/link_varyings.cpp
@@
-964,7
+964,7
@@
varying_matches::record(ir_variable *producer_var, ir_variable *consumer_var)
}
slots *= type->matrix_columns;
} else {
- slots =
var->
type->matrix_columns;
+ slots = type->matrix_columns;
}
this->matches[this->num_matches].num_components = 4 * slots;
} else {