commit | 201b88a93bb9d42a3baf349f83756df1d562da29 | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Sun Jan 12 00:07:05 2020 -0500 |
committer | Ilia Mirkin <imirkin@alum.mit.edu> | Sun Jan 12 12:11:16 2020 -0500 |
tree | 828036623aba0ae0dafcee3c7e43e7c1810c14f9 | |
parent | 3e9aacb139dc4cb101780e235fc5dd45acf860f3 [diff] |
nvc0: treat all draws without color0 broadcast as MRT Per the semi-recently-released NVIDIA docs, when this bit is not enabled, then the result for RT[0] will be used. So if e.g. only a single RT is drawn to and it's not RT[2], the results will not be visible. Fixes GTF-GL45.gtf33.GL3Tests.explicit_attrib_location.explicit_attrib_location_pipeline which was failing due to a frag shader outputting only to location=2. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>