Module: Mesa
Branch: master
Commit: 35433494f35f049aa0ba993391871504abfa0cc0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=35433494f35f049aa0ba993391871504abfa0cc0

Author: Ilia Mirkin <[email protected]>
Date:   Sat Nov  4 13:49:04 2017 -0400

nv50: make blending work so that zero wins in a multiplication

This matches nvc0 behavior, tested with the fbo-float-nan piglit.

Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Tobias Klausmann<[email protected]>

---

 src/gallium/drivers/nouveau/nv50/nv50_screen.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c 
b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
index 90c19b7d2c..c2e69f5513 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
@@ -772,6 +772,11 @@ nv50_screen_init_hwctx(struct nv50_screen *screen)
       PUSH_DATA (push, 0);
    }
 
+   BEGIN_NV04(push, NV50_3D(UNK0FDC), 1);
+   PUSH_DATA (push, 1);
+   BEGIN_NV04(push, NV50_3D(UNK19C0), 1);
+   PUSH_DATA (push, 1);
+
    PUSH_KICK (push);
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to