[Mesa-dev] [PATCH 03/12] i965/fs: Disable SIMD16 when a sampler message would be too long

Neil Roberts neil at linux.intel.com
Fri Sep 18 08:43:44 PDT 2015


Francisco Jerez <currojerez at riseup.net> writes:

> NAK, these cases are already handled without disabling SIMD16 by
> lowering the SIMD16 message into SIMD8 halves. You just need to add a
> case to get_lowered_simd_width() so that the SIMD lowering pass knows
> what the maximum execution size is for your new sampler message.

Oh, I didn't know about that, that is a much better solution. Thanks for
the pointer.

I've made a v2 of patch 4 with this change. I'll post to the list later.

https://github.com/bpeel/mesa/commit/2c123b96ba9ea8d6060ffcb300cff6830917c963#diff-75819689ddf096ce9503b34a3eb6bd67R4256

Regards,
- Neil


More information about the mesa-dev mailing list