From: Keith Whitwell Date: Fri, 6 Nov 2009 21:17:08 +0000 (+0000) Subject: i965g: avoid use of internally generated immediates X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e243279a48d68c0a14fbf2b78d99b6a9e72c87b6;p=mesa.git i965g: avoid use of internally generated immediates Currently not working, so don't generate more of them. --- 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); */ }