[Mesa-dev] [PATCH] nir/lower_tex: Use nir_format_srgb_to_linear

Jason Ekstrand jason at jlekstrand.net
Fri Jul 13 17:08:23 UTC 2018


On Fri, Jul 13, 2018 at 9:41 AM Eric Anholt <eric at anholt.net> wrote:

> Jason Ekstrand <jason at jlekstrand.net> writes:
>
> > Eric, I can't test this patch because it only affects your driver.
>
> I tried a piglit run last night, and all the sRGB lowering looks like it
> crashes now due to fdivs in the NIR.
>

Do you not run nir_opt_algebraic after texture lowering?

--Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180713/a5cd8c89/attachment.html>


More information about the mesa-dev mailing list