| 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 33e87e3c0609664cb861140a0021decda2c1098a..3316354684d1bc22fa4900b976204193ed87892b 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -3817,6 +3817,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() {
|
| driver_bug_workarounds |= SH_REWRITE_DO_WHILE_LOOPS;
|
| if (workarounds().emulate_isnan_on_float)
|
| driver_bug_workarounds |= SH_EMULATE_ISNAN_FLOAT_FUNCTION;
|
| + if (workarounds().use_unused_standard_shared_blocks)
|
| + driver_bug_workarounds |= SH_USE_UNUSED_STANDARD_SHARED_BLOCKS;
|
|
|
| resources.WEBGL_debug_shader_precision =
|
| group_->gpu_preferences().emulate_shader_precision;
|
|
|