[Mesa-dev] [PATCH v2 05/52] intel/fs: Don't stomp f0.1 in SIMD16 ballot

Matt Turner mattst88 at gmail.com
Tue Oct 17 20:52:52 UTC 2017


On 10/12, Jason Ekstrand wrote:
>In fragment shaders f0.1 is used for discards so doing ballot after a
>discard can potentially cause the discard to not happen.

Since

	- SIMD32 currently only used in compute shaders
	- discard only available in fragment shaders

this will fix discards in SIMD16 fragment shaders using ballotARB(), but
leaves it broken in SIMD32. Is that your understanding?

If so, expanding the commit message a little and leaving a FIXME might
be nice.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171017/d31d23de/attachment.sig>


More information about the mesa-dev mailing list