mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
v3d: Add support for GL_SAMPLE_ALPHA_TO_ONE.
Fixes piglit ext_framebuffer_multisample-draw-buffers-alpha-to-one
This commit is contained in:
parent
7b63371420
commit
5601ab3981
1 changed files with 3 additions and 0 deletions
|
|
@ -1030,6 +1030,9 @@ emit_frag_end(struct v3d_compile *c)
|
|||
b = color[0];
|
||||
}
|
||||
|
||||
if (c->fs_key->sample_alpha_to_one)
|
||||
a = vir_uniform_f(c, 1.0);
|
||||
|
||||
if (c->fs_key->f32_color_rb & (1 << rt)) {
|
||||
inst = vir_MOV_dest(c, vir_reg(QFILE_TLBU, 0), r);
|
||||
inst->src[vir_get_implicit_uniform_src(inst)] =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue