Matt Turner <[email protected]> writes:

> On Tue, Jan 24, 2017 at 2:18 PM, Kenneth Graunke <[email protected]> 
> 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?

I doubt the hardware would care, but I guess it wouldn't hurt to do this
in order to make the simulator happy.  How about we fix this in the
generator instead for consistency with the other send-message UW
register retyping workarounds?  Assuming you apply the same fix in
fs_generator::generate_cs_terminate instead patch is:

Reviewed-by: Francisco Jerez <[email protected]>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to