|
6 | 6 | // DO NOT EDIT! |
7 | 7 |
|
8 | 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(ENSURE_PREVIOUS_FRAMEBUFFER_NOT_DELETED, \ |
25 | | - ensure_previous_framebuffer_not_deleted) \ |
26 | | - GPU_OP(FLUSH_ON_FRAMEBUFFER_CHANGE, \ |
27 | | - flush_on_framebuffer_change) \ |
28 | | - GPU_OP(FORCE_UPDATE_SCISSOR_STATE_WHEN_BINDING_FBO0, \ |
29 | | - force_update_scissor_state_when_binding_fbo0) \ |
30 | | - GPU_OP(GL_CLEAR_BROKEN, \ |
31 | | - gl_clear_broken) \ |
32 | | - GPU_OP(MAX_FRAGMENT_UNIFORM_VECTORS_32, \ |
33 | | - max_fragment_uniform_vectors_32) \ |
34 | | - GPU_OP(MAX_MSAA_SAMPLE_COUNT_4, \ |
35 | | - max_msaa_sample_count_4) \ |
36 | | - GPU_OP(PACK_PARAMETERS_WORKAROUND_WITH_PACK_BUFFER, \ |
37 | | - pack_parameters_workaround_with_pack_buffer) \ |
38 | | - GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT, \ |
39 | | - remove_pow_with_constant_exponent) \ |
40 | | - GPU_OP(REWRITE_DO_WHILE_LOOPS, \ |
41 | | - rewrite_do_while_loops) \ |
42 | | - GPU_OP(UNBIND_ATTACHMENTS_ON_BOUND_RENDER_FBO_DELETE, \ |
43 | | - unbind_attachments_on_bound_render_fbo_delete) \ |
44 | | - GPU_OP(UNFOLD_SHORT_CIRCUIT_AS_TERNARY_OPERATION, \ |
45 | | - unfold_short_circuit_as_ternary_operation) \ |
| 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(ENSURE_PREVIOUS_FRAMEBUFFER_NOT_DELETED, \ |
| 25 | + ensure_previous_framebuffer_not_deleted) \ |
| 26 | + GPU_OP(FLUSH_ON_FRAMEBUFFER_CHANGE, \ |
| 27 | + flush_on_framebuffer_change) \ |
| 28 | + GPU_OP(FLUSH_QUERIES_BEFORE_DELETING_OR_UNBINDING_FBO, \ |
| 29 | + flush_queries_before_deleting_or_unbinding_fbo) \ |
| 30 | + GPU_OP(FORCE_UPDATE_SCISSOR_STATE_WHEN_BINDING_FBO0, \ |
| 31 | + force_update_scissor_state_when_binding_fbo0) \ |
| 32 | + GPU_OP(GL_CLEAR_BROKEN, \ |
| 33 | + gl_clear_broken) \ |
| 34 | + GPU_OP(MAX_FRAGMENT_UNIFORM_VECTORS_32, \ |
| 35 | + max_fragment_uniform_vectors_32) \ |
| 36 | + GPU_OP(MAX_MSAA_SAMPLE_COUNT_4, \ |
| 37 | + max_msaa_sample_count_4) \ |
| 38 | + GPU_OP(PACK_PARAMETERS_WORKAROUND_WITH_PACK_BUFFER, \ |
| 39 | + pack_parameters_workaround_with_pack_buffer) \ |
| 40 | + GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT, \ |
| 41 | + remove_pow_with_constant_exponent) \ |
| 42 | + GPU_OP(REWRITE_DO_WHILE_LOOPS, \ |
| 43 | + rewrite_do_while_loops) \ |
| 44 | + GPU_OP(UNBIND_ATTACHMENTS_ON_BOUND_RENDER_FBO_DELETE, \ |
| 45 | + unbind_attachments_on_bound_render_fbo_delete) \ |
| 46 | + GPU_OP(UNFOLD_SHORT_CIRCUIT_AS_TERNARY_OPERATION, \ |
| 47 | + unfold_short_circuit_as_ternary_operation) \ |
46 | 48 |
|
47 | 49 | #endif // GPU_DRIVER_BUG_WORKAROUNDS |
0 commit comments