xref: /aosp_15_r20/external/skia/include/gpu/ganesh/GrDriverBugWorkaroundsAutogen.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1 // Copyright 2018 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // This file is auto-generated from build_workaround_header.py
6 // DO NOT EDIT!
7 
8 #ifndef GPU_DRIVER_BUG_WORKAROUNDS
9 #define GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)              \
10   GPU_OP(ADD_AND_TRUE_TO_LOOP_CONDITION,                \
11          add_and_true_to_loop_condition)                \
12   GPU_OP(DISABLE_BLEND_EQUATION_ADVANCED,               \
13          disable_blend_equation_advanced)               \
14   GPU_OP(DISABLE_DISCARD_FRAMEBUFFER,                   \
15          disable_discard_framebuffer)                   \
16   GPU_OP(DISABLE_DUAL_SOURCE_BLENDING_SUPPORT,          \
17          disable_dual_source_blending_support)          \
18   GPU_OP(DISABLE_TEXTURE_STORAGE,                       \
19          disable_texture_storage)                       \
20   GPU_OP(DISALLOW_LARGE_INSTANCED_DRAW,                 \
21          disallow_large_instanced_draw)                 \
22   GPU_OP(EMULATE_ABS_INT_FUNCTION,                      \
23          emulate_abs_int_function)                      \
24   GPU_OP(FLUSH_ON_FRAMEBUFFER_CHANGE,                   \
25          flush_on_framebuffer_change)                   \
26   GPU_OP(FORCE_UPDATE_SCISSOR_STATE_WHEN_BINDING_FBO0,  \
27          force_update_scissor_state_when_binding_fbo0)  \
28   GPU_OP(GL_CLEAR_BROKEN,                               \
29          gl_clear_broken)                               \
30   GPU_OP(MAX_FRAGMENT_UNIFORM_VECTORS_32,               \
31          max_fragment_uniform_vectors_32)               \
32   GPU_OP(MAX_MSAA_SAMPLE_COUNT_4,                       \
33          max_msaa_sample_count_4)                       \
34   GPU_OP(PACK_PARAMETERS_WORKAROUND_WITH_PACK_BUFFER,   \
35          pack_parameters_workaround_with_pack_buffer)   \
36   GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT,             \
37          remove_pow_with_constant_exponent)             \
38   GPU_OP(REWRITE_DO_WHILE_LOOPS,                        \
39          rewrite_do_while_loops)                        \
40   GPU_OP(UNBIND_ATTACHMENTS_ON_BOUND_RENDER_FBO_DELETE, \
41          unbind_attachments_on_bound_render_fbo_delete) \
42   GPU_OP(UNFOLD_SHORT_CIRCUIT_AS_TERNARY_OPERATION,     \
43          unfold_short_circuit_as_ternary_operation)     \
44 
45 #endif  // GPU_DRIVER_BUG_WORKAROUNDS
46