diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2017-10-31 11:47:57 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-12-12 07:24:55 +0100 |
commit | ba4bb0838bd5712a45c4b37cb1562cc815e6e3c1 (patch) | |
tree | 0e5b367f524c4ba363a8f2ccf0af2d768ce74b70 /src/mesa | |
parent | 0332c7484b712e56ce1a6648c5fa04c90e286c37 (diff) |
anv: fix bug when using component qualifier in FS outputs
We can write to the same output but in different components, like
in this example:
layout(location = 0, component = 0) out ivec2 dEQP_FragColor_0;
layout(location = 0, component = 2) out ivec2 dEQP_FragColor_1;
Therefore, they are not two different outputs but only one.
Fixes:
dEQP-VK.glsl.440.linkage.varying.component.frag_out.*
v3:
- Remove FRAG_RESULT_MAX.
- Add const and use sizeof (Ian).
- Do three-pass to set properly the locations of fragment
outputs when having arrays (Jason).
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions