[Mesa-dev] Question for nir lower load uniform to scalar

Qiang Yu yuq825 at gmail.com
Fri Aug 25 10:25:51 UTC 2017


Hi Eric,

I'm working on lima gp compiler which should benefit from nir lowering
uniform load to scalar.
I notice you write the nir_lower_io_to_scalar.c which support lowering
shader_in/shader_out
but left the uniform lowering in vc4 driver, any reason why not
implement in the nir_lower_io_to_scalar.c?

I'm new to nir, tried to add it but seems not correct after
optimization pass. So I should missing
some place, anyone can help to point out?

Thanks,
Qiang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lower.patch
Type: text/x-patch
Size: 5804 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170825/04471dab/attachment-0001.bin>


More information about the mesa-dev mailing list