diff options
author | Keith Whitwell <[email protected]> | 2009-11-06 21:17:08 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-11 18:51:57 -0800 |
commit | e243279a48d68c0a14fbf2b78d99b6a9e72c87b6 (patch) | |
tree | 1592b4a35afb9877a76a9eb585956faa2ec6d00e /src/gallium/drivers/i965 | |
parent | 98c2b5338156513a43cf18d50d731ad15a12fe04 (diff) |
i965g: avoid use of internally generated immediates
Currently not working, so don't generate more of them.
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r-- | src/gallium/drivers/i965/brw_wm_fp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_fp.c b/src/gallium/drivers/i965/brw_wm_fp.c index 2a207958eb4..0df84f8546c 100644 --- 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); */ } |