glsl: Add support for representing framebuffer fetch in the GLSL IR.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 20 Jul 2016 03:07:47 +0000 (20:07 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 24 Aug 2016 20:28:30 +0000 (13:28 -0700)
commitb49d8f20f43ec429e6c17e7d92c7c2d3f926ee5e
tree081c37ca7042fdf9b130f7f7ac6556fc1dfaff99
parentd7cd7b9c49ab01b954702783493fe22cd2bb38f1
glsl: Add support for representing framebuffer fetch in the GLSL IR.

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.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ir.cpp
src/compiler/glsl/ir.h