Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index f4c03d5d5c8ef2ce42c7fef753fefec4630509a5..f3e5779a790235f36ddaf6ddd1a1ee90ed673d36 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -2815,6 +2815,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() { |
driver_bug_workarounds |= SH_INIT_VARYINGS_WITHOUT_STATIC_USE; |
if (workarounds().unroll_for_loop_with_sampler_array_index) |
driver_bug_workarounds |= SH_UNROLL_FOR_LOOP_WITH_SAMPLER_ARRAY_INDEX; |
+ if (workarounds().scalarize_vec_and_mat_constructor_args) |
+ driver_bug_workarounds |= SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS; |
vertex_translator_ = shader_translator_cache()->GetTranslator( |
#if (ANGLE_SH_VERSION >= 126) |