projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c2b53
)
i965g: avoid use of internally generated immediates
author
Keith Whitwell
<keithw@vmware.com>
Fri, 6 Nov 2009 21:17:08 +0000
(21:17 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Thu, 12 Nov 2009 02:51:57 +0000
(18:51 -0800)
Currently not working, so don't generate more of them.
src/gallium/drivers/i965/brw_wm_fp.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_wm_fp.c
b/src/gallium/drivers/i965/brw_wm_fp.c
index 2a207958eb421a1f99c4d340a9e0adf0e67ac8e6..0df84f8546c8e9083bff9b6be83a0495ade23a10 100644
(file)
--- a/
src/gallium/drivers/i965/brw_wm_fp.c
+++ b/
src/gallium/drivers/i965/brw_wm_fp.c
@@
-906,8
+906,11
@@
find_output_by_semantic( struct brw_wm_compile *c,
return src_reg( TGSI_FILE_OUTPUT, i );
/* If not found, return some arbitrary immediate value:
+ *
+ * XXX: this is a good idea but immediates are up generating extra
+ * curbe entries atm, as they would have in the original driver.
*/
- return src_
imm1f(c, 1.0);
+ return src_
reg( TGSI_FILE_OUTPUT, 0 ); /* src_imm1f(c, 1.0); */
}