[Mesa-dev] [PATCH] i965: Use a UW source type for CS_OPCODE_CS_TERMINATE.
Kenneth Graunke
kenneth at whitecape.org
Thu Jan 26 08:21:27 UTC 2017
On Tuesday, January 24, 2017 3:48:32 PM PST Matt Turner wrote:
> On Tue, Jan 24, 2017 at 2:18 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> > SIMD16 compute shaders use a send(16) with mlen 1 for the EOT message,
> > using a source of g127 for the single register. With a UD type, this
> > supposedly could read g128, which doesn't exist, causing the simulator
> > to get cranky. Use a UW type to avoid this.
>
> Bizarre. Is the hardware this stupid, or just the simulator?
Given that this instruction appears in every single compute shader, and
those seem to be working, my guess is that the hardware is fine. It's
probably just the simulator - I haven't observed any real problems.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170126/223e981f/attachment.sig>
More information about the mesa-dev
mailing list