[Mesa-dev] [PATCH] i965/fs: Perform CSE on sends-from-GRF rather than textures.
Kenneth Graunke
kenneth at whitecape.org
Mon Jul 14 15:19:18 PDT 2014
On Thursday, July 10, 2014 11:59:40 AM Matt Turner wrote:
> Should potentially allow a few more cases, while avoiding doing CSE on
> texture operations on Gen <= 6 with the MRF.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80211
> ---
> src/mesa/drivers/dri/i965/brw_fs_cse.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
> index 5727801..7226aff 100644
> --- a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
> @@ -103,7 +103,7 @@ is_expression(const fs_inst *const inst)
> case SHADER_OPCODE_LOAD_PAYLOAD:
> return !is_copy_payload(inst);
> default:
> - return inst->is_tex();
> + return inst->is_send_from_grf();
> }
> }
>
>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140714/bed05d40/attachment.sig>
More information about the mesa-dev
mailing list