Re: [Mesa-dev] [PATCH v2 14/22] intel/compiler: Do image load/store lowering to NIR

2018-08-29 Thread Kenneth Graunke
On Wednesday, August 29, 2018 10:11:48 AM PDT Jason Ekstrand wrote: > This commit moves our storage image format conversion codegen into NIR > instead of doing it in the back-end. This has the advantage of letting > us run it through NIR's optimizer which is pretty effective at shrinking > things

[Mesa-dev] [PATCH v2 14/22] intel/compiler: Do image load/store lowering to NIR

2018-08-29 Thread Jason Ekstrand
This commit moves our storage image format conversion codegen into NIR instead of doing it in the back-end. This has the advantage of letting us run it through NIR's optimizer which is pretty effective at shrinking things down. In the common case of rgba8, the number of instructions emitted after