nir: optimize gl_SampleMaskIn to gl_HelperInvocation for radeonsi when possible
authorMarek Olšák <marek.olsak@amd.com>
Wed, 10 Apr 2019 01:40:33 +0000 (21:40 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 16 Apr 2019 14:24:19 +0000 (10:24 -0400)
commitd3ce8a7f6b93e893929b81f4d6605a2a968730a1
tree59821cab65ac1708dd3623d385d10da59d0a1001
parentd98f6380cb0b306f636175c1b3465dbcccadb4e9
nir: optimize gl_SampleMaskIn to gl_HelperInvocation for radeonsi when possible

Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_intrinsics.c
src/gallium/drivers/radeonsi/si_get.c
src/mesa/state_tracker/st_glsl_to_nir.cpp