compiler: Add color system value
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 27 May 2019 15:48:42 +0000 (17:48 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 8 Jul 2019 12:18:34 +0000 (14:18 +0200)
commite5536aa584e91d2a859c2f905d9ce40fc410470b
treeda23a47a2f5c32c565f1e6dbe9acb34c0c988819
parent118a66df9907772bb9e5503b736c95d7bb62d52c
compiler: Add color system value

This is nice to have with radeonsi, where color varyings are handled
specially to avoid recompiles.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/nir/nir.c
src/compiler/nir/nir_intrinsics.py
src/compiler/shader_enums.c
src/compiler/shader_enums.h