From 739d526b0757fb544322d3e03447d11de9a51b40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 4 Aug 2016 19:04:02 +0200 Subject: [PATCH] gallium/radeon: implement ARB_clear_texture (v3) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Some ideas copied from Jakob Sinclair's implementation, but the color clearing is completely different. v2: remove leftover code, disable conditional rendering disable render condition cleanly Reviewed-by: Nicolai Hähnle --- docs/GL3.txt | 2 +- docs/relnotes/12.1.0.html | 1 + src/gallium/drivers/r600/r600_pipe.c | 2 +- src/gallium/drivers/radeon/r600_texture.c | 67 +++++++++++++++++++++++ src/gallium/drivers/radeonsi/si_pipe.c | 2 +- 5 files changed, 71 insertions(+), 3 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 0ba5a2597a1..6597984323c 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -192,7 +192,7 @@ GL 4.4, GLSL 4.40: GL_MAX_VERTEX_ATTRIB_STRIDE DONE (all drivers) GL_ARB_buffer_storage DONE (i965, nv50, nvc0, r600, radeonsi) - GL_ARB_clear_texture DONE (i965, nv50, nvc0) + GL_ARB_clear_texture DONE (i965, nv50, nvc0, r600, radeonsi) GL_ARB_enhanced_layouts DONE (i965) - compile-time constant expressions DONE - explicit byte offsets for blocks DONE diff --git a/docs/relnotes/12.1.0.html b/docs/relnotes/12.1.0.html index 120403822bd..23249720244 100644 --- a/docs/relnotes/12.1.0.html +++ b/docs/relnotes/12.1.0.html @@ -44,6 +44,7 @@ Note: some of the new features are only available with certain drivers.