diff options
Diffstat (limited to 'lib/mesa/src/mapi/glapi/gen/gl_genexec.py')
-rw-r--r-- | lib/mesa/src/mapi/glapi/gen/gl_genexec.py | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/mesa/src/mapi/glapi/gen/gl_genexec.py b/lib/mesa/src/mapi/glapi/gen/gl_genexec.py index 57e155bd1..183e6ff74 100644 --- a/lib/mesa/src/mapi/glapi/gen/gl_genexec.py +++ b/lib/mesa/src/mapi/glapi/gen/gl_genexec.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # Copyright (C) 2012 Intel Corporation # @@ -91,7 +92,6 @@ header = """/** #include "main/objectlabel.h" #include "main/objectpurge.h" #include "main/performance_monitor.h" -#include "main/performance_query.h" #include "main/pipelineobj.h" #include "main/pixel.h" #include "main/pixelstore.h" @@ -113,7 +113,6 @@ header = """/** #include "main/texstate.h" #include "main/texstorage.h" #include "main/barrier.h" -#include "main/texturebindless.h" #include "main/textureview.h" #include "main/transformfeedback.h" #include "main/mtypes.h" @@ -233,16 +232,8 @@ class PrintCode(gl_XML.gl_print_base): # This function is not implemented, or is dispatched # dynamically. continue - if f.has_no_error_variant: - no_error_condition = '_mesa_is_no_error_enabled(ctx) && ({0})'.format(condition) - error_condition = '!_mesa_is_no_error_enabled(ctx) && ({0})'.format(condition) - settings_by_condition[no_error_condition].append( - 'SET_{0}(exec, {1}{0}_no_error);'.format(f.name, prefix, f.name)) - settings_by_condition[error_condition].append( - 'SET_{0}(exec, {1}{0});'.format(f.name, prefix, f.name)) - else: - settings_by_condition[condition].append( - 'SET_{0}(exec, {1}{0});'.format(f.name, prefix, f.name)) + settings_by_condition[condition].append( + 'SET_{0}(exec, {1}{0});'.format(f.name, prefix, f.name)) # Print out an if statement for each unique condition, with # the SET_* calls nested inside it. for condition in sorted(settings_by_condition.keys()): |