projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14e2dc9
)
r300/compiler: disable the swizzle lowering pass in vertex shaders
author
Marek Olšák
<maraeo@gmail.com>
Thu, 2 Dec 2010 14:56:38 +0000
(15:56 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 2 Dec 2010 16:48:08 +0000
(17:48 +0100)
It was a no-op because all swizzles are native there.
src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c
b/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c
index a321e26fed6e7df120a5708c40bd872a7869136e..dab593310eed17a52d629472d0f9a3a8e203572c 100644
(file)
--- a/
src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c
+++ b/
src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c
@@
-1063,7
+1063,6
@@
void r3xx_compile_vertex_program(struct r300_vertex_program_compiler *c)
{"dataflow optimize", 1, opt, rc_optimize, NULL},
/* This pass must be done after optimizations. */
{"source conflict resolve", 1, 1, rc_local_transform, resolve_src_conflicts},
- {"dataflow swizzles", 1, 1, rc_dataflow_swizzles, NULL},
{"register allocation", 1, opt, allocate_temporary_registers, NULL},
{"dead constants", 1, kill_consts, rc_remove_unused_constants, &c->code->constants_remap_table},
{"final code validation", 0, 1, rc_validate_final_shader, NULL},