projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67029b1
)
Fix illegal (var_ref (array_ref ...)) in matrix constructors.
author
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 22 Apr 2010 07:25:55 +0000
(
00:25
-0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 22 Apr 2010 07:25:55 +0000
(
00:25
-0700)
glsl_types.cpp
patch
|
blob
|
history
diff --git
a/glsl_types.cpp
b/glsl_types.cpp
index 508a75703d116ca5147c5e8227b27120d24d5830..4cd0f46aab217187b59468e955ff74be943911a2 100644
(file)
--- a/
glsl_types.cpp
+++ b/
glsl_types.cpp
@@
-372,10
+372,7
@@
generate_mat_body_from_N_scalars(exec_list *instructions,
ir_dereference *const row_access =
new ir_dereference(declarations[16], row_index);
- ir_dereference *const component_access_ref =
- new ir_dereference(row_access);
-
- ir_swizzle *component_access = new ir_swizzle(component_access_ref,
+ ir_swizzle *component_access = new ir_swizzle(row_access,
j, 0, 0, 0, 1);
const unsigned param = (i * row_type->vector_elements) + j;