gallium: add nir lowering passes for the draw pipe stages. (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 5 Sep 2019 05:47:39 +0000 (15:47 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Nov 2019 04:49:05 +0000 (14:49 +1000)
commit3eb27cfccddaca7bb46bc42e0c1832b3c1085542
treed206966f7651877a1187c5d40e042697ed81bf28
parentbf12bc2dd7a28844103bb30a07be0440e60c5864
gallium: add nir lowering passes for the draw pipe stages. (v2)

This transforms the NIR shaders like the TGSI transforms worked.

v2: fix some nir info requirements, use 32-bit bools

Acked-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/meson.build
src/gallium/auxiliary/nir/nir_draw_helpers.c [new file with mode: 0644]
src/gallium/auxiliary/nir/nir_draw_helpers.h [new file with mode: 0644]