dawn-cmake/src/dawn_native/opengl
Li Hao b936d23364 Implement internal storage for buffer usage and buffer binding type
In the timestamp internal pipeline, the ResolveQuery buffer cannnot be
binded as Storage buffer in binding group layout due to it has not
Storage usage.
Add InternalStorageBuffer for buffer usage and
InternalStorageBufferBinding for buffer binding type, make the
QueryResolve buffer implicitly get InternalStorageBuffer and only
compatible with InternalStorageBufferBinding in BGL, not Storage buffer
binding type.

Bug: dawn:797
Change-Id: I286339e703e26d3786c706ded03f850ca17355fb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/54400
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Commit-Queue: Hao Li <hao.x.li@intel.com>
2021-06-16 14:33:27 +00:00
..
BackendGL.cpp OpenGL ES: implement compressed texture support. 2021-02-19 18:38:32 +00:00
BackendGL.h Add preliminary OpenGL ES and EGL support to Dawn. 2020-11-24 20:57:23 +00:00
BindGroupGL.cpp DeviceBase: Make object creation use ResultOrError<Ref<T>> 2021-03-31 18:36:32 +00:00
BindGroupGL.h DeviceBase: Make object creation use ResultOrError<Ref<T>> 2021-03-31 18:36:32 +00:00
BindGroupLayoutGL.cpp DeviceBase: Make object creation use ResultOrError<Ref<T>> 2021-03-31 18:36:32 +00:00
BindGroupLayoutGL.h DeviceBase: Make object creation use ResultOrError<Ref<T>> 2021-03-31 18:36:32 +00:00
BufferGL.cpp Triage Dawn TODOs 2021-06-07 18:23:52 +00:00
BufferGL.h Fix the initialization of the buffers with MapRead and MapAtCreation 2020-09-01 08:08:57 +00:00
CommandBufferGL.cpp Implement internal storage for buffer usage and buffer binding type 2021-06-16 14:33:27 +00:00
CommandBufferGL.h OpenGL: refactor all texture uploads. 2021-04-13 13:58:14 +00:00
ComputePipelineGL.cpp ComputePipelineDescriptor.computeStage->compute 2021-06-09 18:07:32 +00:00
ComputePipelineGL.h Make RefCounted derived objects have private destructors 2020-04-06 18:20:02 +00:00
DeviceGL.cpp Implement EGLImage external texture API for GL. 2021-06-03 16:19:16 +00:00
DeviceGL.h Implement EGLImage external texture API for GL. 2021-06-03 16:19:16 +00:00
Forward.h Query API: QuerySet 2020-06-11 00:34:14 +00:00
GLFormat.cpp Rename BC6HRGBSfloat to BC6HRGBFloat 2020-09-10 08:48:57 +00:00
GLFormat.h Implement most texture formats on OpenGL 2019-08-02 09:46:58 +00:00
NativeSwapChainImplGL.cpp Reset scissor reset before presenting in opengl 2021-01-13 05:09:24 +00:00
NativeSwapChainImplGL.h Make dawn_native public headers and dawn_wsi use webgpu.h 2019-10-24 23:55:37 +00:00
OpenGLBackend.cpp Implement EGLImage external texture API for GL. 2021-06-03 16:19:16 +00:00
OpenGLFunctions.cpp Refactor OpenGLVersion out of OpenGLFunctions. 2020-11-23 18:50:42 +00:00
OpenGLFunctions.h Refactor OpenGLVersion out of OpenGLFunctions. 2020-11-23 18:50:42 +00:00
OpenGLVersion.cpp Refactor OpenGLVersion out of OpenGLFunctions. 2020-11-23 18:50:42 +00:00
OpenGLVersion.h Refactor OpenGLVersion out of OpenGLFunctions. 2020-11-23 18:50:42 +00:00
PersistentPipelineStateGL.cpp OpenGL: Don't use glad to load OpenGL entrypoints 2019-06-13 10:22:32 +00:00
PersistentPipelineStateGL.h Remove glad and replace it with our own GL header 2019-06-17 09:17:29 +00:00
PipelineGL.cpp OpenGL: Use binding= for all bindings in generated GLSL 2021-05-19 18:29:37 +00:00
PipelineGL.h Remove some useless #include files and forward declarations 2021-02-23 01:51:06 +00:00
PipelineLayoutGL.cpp Implement internal storage for buffer usage and buffer binding type 2021-06-16 14:33:27 +00:00
PipelineLayoutGL.h Remove kMaxBindingsPerGroup limit 2020-07-14 22:20:35 +00:00
QuerySetGL.cpp Query API: QuerySet 2020-06-11 00:34:14 +00:00
QuerySetGL.h Query API: QuerySet 2020-06-11 00:34:14 +00:00
QueueGL.cpp Support 3D textures in ClearTexture 2021-05-18 21:51:33 +00:00
QueueGL.h Rename Buffer/TextureCopyView to ImageCopyBuffer/Texture. 2021-03-04 18:13:45 +00:00
RenderPipelineGL.cpp Removed deprecated CreateRenderPipeline path 2021-05-21 05:01:38 +00:00
RenderPipelineGL.h Removed deprecated CreateRenderPipeline path 2021-05-21 05:01:38 +00:00
SamplerGL.cpp Add maxAnisotropy to GPUSamplerDescriptor 2020-12-24 03:11:17 +00:00
SamplerGL.h Make RefCounted derived objects have private destructors 2020-04-06 18:20:02 +00:00
ShaderModuleGL.cpp OpenGL: Use binding= for all bindings in generated GLSL 2021-05-19 18:29:37 +00:00
ShaderModuleGL.h Split top-level reflection code into either Tint or SPIRV-Cross 2021-04-02 06:57:43 +00:00
SwapChainGL.cpp Optimize subresource tracking - use texture view 2020-06-15 18:26:12 +00:00
SwapChainGL.h Optimize subresource tracking - use texture view 2020-06-15 18:26:12 +00:00
TextureGL.cpp Triage Dawn TODOs 2021-06-07 18:23:52 +00:00
TextureGL.h Refactor subresource related variables to a struct 2020-06-12 00:37:31 +00:00
UtilsGL.cpp Standardize the use of UNREACHABLE in switches. 2020-09-24 14:56:50 +00:00
UtilsGL.h Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
opengl_platform.h Remove glad and replace it with our own GL header 2019-06-17 09:17:29 +00:00
supported_extensions.json Implement EGLImage external texture API for GL. 2021-06-03 16:19:16 +00:00