v3d: implement tile buffer color read intrinsic

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 12 July 2019 07:16 EDT

We will be emitting this intrinsic to signal TLB color loads when we implement OpenGL logic operations, where we need to blend the fragment shader color output with the existing color in the render target.

Per-sample TLB reads are not supported yet.

v2: fix the offset into the color_reads array (Eric).

47d7c80dc78 v3d: implement tile buffer color read intrinsic
src/broadcom/compiler/nir_to_vir.c | 100 +++++++++++++++++++++++++++++++++++++
1 file changed, 100 insertions(+)

Upstream: cgit.freedesktop.org


  • Share