| 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 | #define GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)              \ | 
|---|
| 9 | GPU_OP(ADD_AND_TRUE_TO_LOOP_CONDITION,                \ | 
|---|
| 10 | add_and_true_to_loop_condition)                \ | 
|---|
| 11 | GPU_OP(DISABLE_BLEND_EQUATION_ADVANCED,               \ | 
|---|
| 12 | disable_blend_equation_advanced)               \ | 
|---|
| 13 | GPU_OP(DISABLE_DISCARD_FRAMEBUFFER,                   \ | 
|---|
| 14 | disable_discard_framebuffer)                   \ | 
|---|
| 15 | GPU_OP(DISABLE_DUAL_SOURCE_BLENDING_SUPPORT,          \ | 
|---|
| 16 | disable_dual_source_blending_support)          \ | 
|---|
| 17 | GPU_OP(DISABLE_TEXTURE_STORAGE,                       \ | 
|---|
| 18 | disable_texture_storage)                       \ | 
|---|
| 19 | GPU_OP(DISALLOW_LARGE_INSTANCED_DRAW,                 \ | 
|---|
| 20 | disallow_large_instanced_draw)                 \ | 
|---|
| 21 | GPU_OP(EMULATE_ABS_INT_FUNCTION,                      \ | 
|---|
| 22 | emulate_abs_int_function)                      \ | 
|---|
| 23 | GPU_OP(FLUSH_ON_FRAMEBUFFER_CHANGE,                   \ | 
|---|
| 24 | flush_on_framebuffer_change)                   \ | 
|---|
| 25 | GPU_OP(GL_CLEAR_BROKEN,                               \ | 
|---|
| 26 | gl_clear_broken)                               \ | 
|---|
| 27 | GPU_OP(MAX_FRAGMENT_UNIFORM_VECTORS_32,               \ | 
|---|
| 28 | max_fragment_uniform_vectors_32)               \ | 
|---|
| 29 | GPU_OP(MAX_MSAA_SAMPLE_COUNT_4,                       \ | 
|---|
| 30 | max_msaa_sample_count_4)                       \ | 
|---|
| 31 | GPU_OP(MAX_TEXTURE_SIZE_LIMIT_4096,                   \ | 
|---|
| 32 | max_texture_size_limit_4096)                   \ | 
|---|
| 33 | GPU_OP(PACK_PARAMETERS_WORKAROUND_WITH_PACK_BUFFER,   \ | 
|---|
| 34 | pack_parameters_workaround_with_pack_buffer)   \ | 
|---|
| 35 | GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT,             \ | 
|---|
| 36 | remove_pow_with_constant_exponent)             \ | 
|---|
| 37 | GPU_OP(RESTORE_SCISSOR_ON_FBO_CHANGE,                 \ | 
|---|
| 38 | restore_scissor_on_fbo_change)                 \ | 
|---|
| 39 | GPU_OP(REWRITE_DO_WHILE_LOOPS,                        \ | 
|---|
| 40 | rewrite_do_while_loops)                        \ | 
|---|
| 41 | GPU_OP(UNBIND_ATTACHMENTS_ON_BOUND_RENDER_FBO_DELETE, \ | 
|---|
| 42 | unbind_attachments_on_bound_render_fbo_delete) \ | 
|---|
| 43 | GPU_OP(UNFOLD_SHORT_CIRCUIT_AS_TERNARY_OPERATION,     \ | 
|---|
| 44 | unfold_short_circuit_as_ternary_operation)     \ | 
|---|
| 45 | // The End | 
|---|
| 46 |  | 
|---|