nir: add lowering for gl_HelperInvocation
authorRob Clark <robdclark@gmail.com>
Fri, 1 Jun 2018 18:07:15 +0000 (14:07 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 18 Jul 2018 14:10:44 +0000 (10:10 -0400)
commit8dfc9e22c12ff840510d876b09d7f7163256bb17
tree2f4e00e1bc0029bbb4da8c7095fbcf099914812a
parent09f240eb5ff6c24471bd55770771b7755ad07bc0
nir: add lowering for gl_HelperInvocation

v2: reword comment about lower_helper_invocations to be more clear
    that it might not work on all hardware
v3: add special variant of load_sample_id which does not imply per-
    sample shading

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_intrinsics.py
src/compiler/nir/nir_lower_system_values.c
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
src/gallium/drivers/freedreno/ir3/ir3_nir.c