glsl: Add support for representing framebuffer fetch in the GLSL IR.

Graphics / Mesa 3D Graphics Library / Mesa - Francisco Jerez [riseup.net] - 24 August 2016 15:28 UTC

The GLSL IR representation of framebuffer fetch amounts to a single bit in the ir_variable object applicable to fragment shader outputs. The flag indicates that the variable will be implicitly initialized to the previous contents of the render buffer at the same fragment coordinates and sample index.

b49d8f2 glsl: Add support for representing framebuffer fetch in the GLSL IR.
src/compiler/glsl/ir.cpp | 1 +
src/compiler/glsl/ir.h | 8 ++++++++
2 files changed, 9 insertions(+)

Upstream: cgit.freedesktop.org


  • Share