Add (unsafe) dispatchComputeIndirect() to webgl2-compute context

The method is quite similar to dispatchCompute(), except the number of
work groups will be given by a pre-filled GPU buffer.

Bug: 859249
Change-Id: I874759e1dca75613f1e638c104d186f3090c4b5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1651492
Reviewed-by: Antoine Labour <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Commit-Queue: Jiajie Hu <[email protected]>
Cr-Commit-Position: refs/heads/master@{#670040}
diff --git a/gpu/GLES2/gl2chromium_autogen.h b/gpu/GLES2/gl2chromium_autogen.h
index 052b441e..ceb3f8c 100644
--- a/gpu/GLES2/gl2chromium_autogen.h
+++ b/gpu/GLES2/gl2chromium_autogen.h
@@ -277,6 +277,7 @@
 #define glFramebufferParameteri GLES2_GET_FUN(FramebufferParameteri)
 #define glBindImageTexture GLES2_GET_FUN(BindImageTexture)
 #define glDispatchCompute GLES2_GET_FUN(DispatchCompute)
+#define glDispatchComputeIndirect GLES2_GET_FUN(DispatchComputeIndirect)
 #define glGetProgramInterfaceiv GLES2_GET_FUN(GetProgramInterfaceiv)
 #define glGetProgramResourceIndex GLES2_GET_FUN(GetProgramResourceIndex)
 #define glGetProgramResourceName GLES2_GET_FUN(GetProgramResourceName)