[Mesa-dev] [PATCH] st/glsl_to_tgsi: fix mismatch between TGSI BFI/BFE and GLSL

Ilia Mirkin imirkin at alum.mit.edu
Mon Oct 24 15:16:56 UTC 2016


On Mon, Oct 24, 2016 at 11:12 AM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> On 24.10.2016 16:44, Ilia Mirkin wrote:
>> In any case, the GLSL way is backwards-compatible with the DX11 way.
>> It just specifies some unspecified situations.
>
> No, it isn't -- that's the whole problem :)
>
> Both GLSL and SM5 specify clearly what should happen for the offset=0,
> bits=32 case, but they disagree.

Oh. Interesting. Do we have tests for that? (Do they fail on nvc0?
Pretty sure they were passing last I checked...)

I find this very surprising BTW - please double-check.


More information about the mesa-dev mailing list