OSDN Git Service

nir: Simplify nir_lower_gs_intrinsics
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 16 Jul 2016 00:15:21 +0000 (17:15 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 5 Dec 2016 23:40:09 +0000 (15:40 -0800)
commit2f19c19b5de66c4966fc5f5926efe5d435e505db
tree416ae9acf3bb174536b937c2e82f0c541a8f2e07
parent257aa5a1c4a2284ffd43759daa405fc135a40094
nir: Simplify nir_lower_gs_intrinsics

It's only ever called on single-function shaders.  At this point, there are
a lot of helpers that can make it all much simpler.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/nir/nir_lower_gs_intrinsics.c