Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 399153005: Hook up command buffer with SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <list> 10 #include <list>
(...skipping 2797 matching lines...) Expand 10 before | Expand all | Expand 10 after
2808 if (workarounds().needs_glsl_built_in_function_emulation) 2808 if (workarounds().needs_glsl_built_in_function_emulation)
2809 driver_bug_workarounds |= SH_EMULATE_BUILT_IN_FUNCTIONS; 2809 driver_bug_workarounds |= SH_EMULATE_BUILT_IN_FUNCTIONS;
2810 if (workarounds().init_gl_position_in_vertex_shader) 2810 if (workarounds().init_gl_position_in_vertex_shader)
2811 driver_bug_workarounds |= SH_INIT_GL_POSITION; 2811 driver_bug_workarounds |= SH_INIT_GL_POSITION;
2812 if (workarounds().unfold_short_circuit_as_ternary_operation) 2812 if (workarounds().unfold_short_circuit_as_ternary_operation)
2813 driver_bug_workarounds |= SH_UNFOLD_SHORT_CIRCUIT; 2813 driver_bug_workarounds |= SH_UNFOLD_SHORT_CIRCUIT;
2814 if (workarounds().init_varyings_without_static_use) 2814 if (workarounds().init_varyings_without_static_use)
2815 driver_bug_workarounds |= SH_INIT_VARYINGS_WITHOUT_STATIC_USE; 2815 driver_bug_workarounds |= SH_INIT_VARYINGS_WITHOUT_STATIC_USE;
2816 if (workarounds().unroll_for_loop_with_sampler_array_index) 2816 if (workarounds().unroll_for_loop_with_sampler_array_index)
2817 driver_bug_workarounds |= SH_UNROLL_FOR_LOOP_WITH_SAMPLER_ARRAY_INDEX; 2817 driver_bug_workarounds |= SH_UNROLL_FOR_LOOP_WITH_SAMPLER_ARRAY_INDEX;
2818 if (workarounds().scalarize_vec_and_mat_constructor_args)
2819 driver_bug_workarounds |= SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS;
2818 2820
2819 vertex_translator_ = shader_translator_cache()->GetTranslator( 2821 vertex_translator_ = shader_translator_cache()->GetTranslator(
2820 #if (ANGLE_SH_VERSION >= 126) 2822 #if (ANGLE_SH_VERSION >= 126)
2821 GL_VERTEX_SHADER, 2823 GL_VERTEX_SHADER,
2822 #else 2824 #else
2823 SH_VERTEX_SHADER, 2825 SH_VERTEX_SHADER,
2824 #endif 2826 #endif
2825 shader_spec, 2827 shader_spec,
2826 &resources, 2828 &resources,
2827 implementation_type, 2829 implementation_type,
(...skipping 8089 matching lines...) Expand 10 before | Expand all | Expand 10 after
10917 } 10919 }
10918 } 10920 }
10919 10921
10920 // Include the auto-generated part of this file. We split this because it means 10922 // Include the auto-generated part of this file. We split this because it means
10921 // we can easily edit the non-auto generated parts right here in this file 10923 // we can easily edit the non-auto generated parts right here in this file
10922 // instead of having to edit some template or the code generator. 10924 // instead of having to edit some template or the code generator.
10923 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" 10925 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h"
10924 10926
10925 } // namespace gles2 10927 } // namespace gles2
10926 } // namespace gpu 10928 } // namespace gpu
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_conformance_expectations.py ('k') | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698