nir: add a V3D-specific intrinsic for per-sample color writes
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 16 Jul 2019 07:44:52 +0000 (09:44 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 18 Jul 2019 06:59:35 +0000 (08:59 +0200)
commit50016d77184dd12dc36efdc60a64759f66319ed5
treeaa840a48ef5a83dbce0671e8d7f88ea2a1baea66
parentba520b00c4e0c8b403a20dd6a8978110e2423940
nir: add a V3D-specific intrinsic for per-sample color writes

For per-sample color writes we need the output intrinsic to pack the
sample index, which is not provided with regular store_output intrinsics
unless we figured out a way to encode it into the base or the offset.

v2:
 - Drop the writemask (Eric)

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir_intrinsics.py