nir: add a new v3d-specific intrinsic for tile buffer color reads
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 9 Jul 2019 07:15:02 +0000 (09:15 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 12 Jul 2019 07:16:38 +0000 (09:16 +0200)
commitb0eec9e27d753af11f82d64bd329234a3291339c
tree4ce9e6cbd0e4b8d70d9a6f247b28e67997f4e0f4
parent6af1bdefa975864a62a043a5ec1919c415dc9c4d
nir: add a new v3d-specific intrinsic for tile buffer color reads

This is intended to be used, for example, with OpenGL logic operations. It
takes a render target as source and a sample index in the base index for
MSAA color reads.

v2: drop the CAN_ELIMINATE and CAN_REORDER flags (Eric).

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