diff options
author | Marek Olšák <[email protected]> | 2016-01-11 23:51:39 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-22 15:02:40 +0100 |
commit | 8667a1aea2ac3fee9b1b663132dc1bea8ec21cda (patch) | |
tree | ec989c6f1677d180846bf894ee4849bd83af3040 /src/gallium/drivers/radeonsi/si_descriptors.c | |
parent | 0446ea9d084f5e72f7ea23f806a9723c94dd3685 (diff) |
radeonsi: use SPI_SHADER_COL_FORMAT fields instead of export_16bpc
This does change the behavior slightly:
If a shader writes COLOR[i] and that color buffer isn't bound,
the shader will export MRT_NULL instead and discard the IR tree that
calculates the output. The only exception is alpha-to-coverage, which
requires an alpha export.
v2: - update a comment about 16BPC
- account for MRTZ when when fixing alpha-test/kill
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_descriptors.c')
0 files changed, 0 insertions, 0 deletions