Explorar el Código

vega: fix incorrect samplers, textures indexes in blend_bind_samplers()

Fixes fd.o bug 25863.

Signed-off-by: Brian Paul <brianp@vmware.com>
tags/mesa-7.7-2
Igor Oliveira hace 15 años
padre
commit
0d051af612
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/gallium/state_trackers/vega/shader.c

+ 2
- 2
src/gallium/state_trackers/vega/shader.c Ver fichero

@@ -135,8 +135,8 @@ static VGint blend_bind_samplers(struct vg_context *ctx,
textures[2] = stfb->blend_texture;

if (!samplers[0] || !textures[0]) {
samplers[1] = samplers[2];
textures[1] = textures[2];
samplers[0] = samplers[2];
textures[0] = textures[2];
}
if (!samplers[1] || !textures[1]) {
samplers[1] = samplers[0];

Cargando…
Cancelar
Guardar