https://bugs.chromium.org/p/skia/issues/detail?id=13780
GrDawnGpu: ERROR type 1, msg: Tint SPIR-V reader failure:
Parser: error: 'textureSample' must only be called from uniform control flow
note: control flow depends on non-uniform value
note: reading from module-scope private variable 'vTexIndex_S0' may result in a non-uniform value
- While validating [ShaderModuleDescriptor]
- While calling [Device].CreateShaderModule([ShaderModuleDescriptor]).
GrDawnGpu: ERROR type 1, msg: [Invalid ShaderModule] is invalid.
- While validating fragment stage (module: [Invalid ShaderModule], entryPoint: main).
- While validating fragment state.
- While calling [Device].CreateRenderPipeline([RenderPipelineDescriptor]).
GrDawnGpu: ERROR type 1, msg: [Invalid RenderPipeline] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline]).
GrDawnGpu: ERROR type 1, msg: [Invalid CommandBuffer] is invalid.
at ValidateObject (../../third_party/externals/dawn/src/dawn/native/Device.cpp:651)
at ValidateSubmit (../../third_party/externals/dawn/src/dawn/native/Queue.cpp:393)