[virglrenderer-devel] [PATCH 1/3] vrend_state: drop unused have_bit_encoding.

Dave Airlie airlied at gmail.com
Mon Jul 23 02:08:03 UTC 2018


From: Dave Airlie <airlied at redhat.com>

---
 src/vrend_renderer.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
index c768f71..317024a 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -111,7 +111,6 @@ struct global_renderer_state {
    bool have_gl_prim_restart;
    bool have_gl_conditional_render;
    bool have_nv_conditional_render;
-   bool have_bit_encoding;
    bool have_gles31_vertex_attrib_binding;
    bool have_tf2;
    bool have_stencil_texturing;
@@ -4604,8 +4603,6 @@ int vrend_renderer_init(struct vrend_if_cbs *cbs, uint32_t flags)
       vrend_state.have_gles31_vertex_attrib_binding = true;
    if (gl_ver >= 33 || epoxy_has_gl_extension("GL_ARB_sampler_objects"))
       vrend_state.have_samplers = true;
-   if (gl_ver >= 33 || epoxy_has_gl_extension("GL_ARB_shader_bit_encoding"))
-      vrend_state.have_bit_encoding = true;
    if (!gles && gl_ver >= 31)
       vrend_state.have_gl_prim_restart = true;
    else if (epoxy_has_gl_extension("GL_NV_primitive_restart"))
-- 
2.14.3



More information about the virglrenderer-devel mailing list