dawn-cmake/src/dawn_native
Jiawei Shao db3b893675 Add entry points for creating a cube map/cube map array texture view
This patch adds the entry points for creating cube map and cube map
array texture views. This patch also adds validations that the array
layer in the texture view descriptor must be 6 when the texture view
dimension is cube map, and a multiple of 6 when the texture view
dimension is cube map array.

BUG=dawn:16
TEST=dawn_unittests

Change-Id: I86a66c3753a7678351f65b43f6cd54b96d1b762c
Reviewed-on: https://dawn-review.googlesource.com/c/2200
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2018-11-07 09:52:33 +00:00
..
d3d12 D3D12 fix for register binding offsets. 2018-11-01 13:59:19 +00:00
metal Create texture view with descriptor on D3D12 and Metal - Part I 2018-10-26 06:29:38 +00:00
null Implement CreateDefaultTextureView by CreateTextureView 2018-10-18 06:00:09 +00:00
opengl Support creating texture view with descriptor on OpenGL version >= 4.3 2018-10-29 09:07:25 +00:00
vulkan Implement creating texture view with descriptor on Vulkan 2018-10-23 11:08:20 +00:00
BindGroup.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
BindGroup.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
BindGroupLayout.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
BindGroupLayout.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
BlendState.cpp Use blend descriptor to replace a blend struct. 2018-10-29 09:06:55 +00:00
BlendState.h Initialize BlendDescriptor with default values. 2018-10-30 10:03:47 +00:00
Buffer.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Buffer.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Builder.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Builder.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
CommandAllocator.cpp dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
CommandAllocator.h dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
CommandBuffer.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
CommandBuffer.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
CommandBufferStateTracker.cpp Make Dawn error macro more explicit and have an "error type" 2018-09-11 07:55:27 -04:00
CommandBufferStateTracker.h dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
Commands.cpp dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
Commands.h Implement copying between a buffer and a texture 2D array on Vulkan (#257) 2018-08-30 04:27:38 -04:00
ComputePassEncoder.cpp Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
ComputePassEncoder.h Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
ComputePipeline.cpp Make Dawn error macro more explicit and have an "error type" 2018-09-11 07:55:27 -04:00
ComputePipeline.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
DawnNative.cpp Collect GPU device information for end2end tests - Part I 2018-09-19 00:32:52 +00:00
DepthStencilState.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
DepthStencilState.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Device.cpp Add entry point of creating texture view by TextureViewDescriptor 2018-10-12 08:32:58 +00:00
Device.h Implement CreateDefaultTextureView by CreateTextureView 2018-10-18 06:00:09 +00:00
Error.cpp Make Dawn error macro more explicit and have an "error type" 2018-09-11 07:55:27 -04:00
Error.h Add entry point of creating texture view by TextureViewDescriptor 2018-10-12 08:32:58 +00:00
ErrorData.cpp Make Dawn error macro more explicit and have an "error type" 2018-09-11 07:55:27 -04:00
ErrorData.h Make Dawn error macro more explicit and have an "error type" 2018-09-11 07:55:27 -04:00
Forward.h Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
InputState.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
InputState.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
ObjectBase.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
ObjectBase.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
PassResourceUsage.h Make dawn_native use its own header for Dawn datatypes 2018-07-27 12:56:26 +02:00
PerStage.cpp dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
PerStage.h Descriptorize ComputePipeline 2018-09-05 08:32:53 -04:00
Pipeline.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Pipeline.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
PipelineLayout.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
PipelineLayout.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
ProgrammablePassEncoder.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
ProgrammablePassEncoder.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Queue.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Queue.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
RefCounted.cpp dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
RefCounted.h dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
RenderPassDescriptor.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
RenderPassDescriptor.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
RenderPassEncoder.cpp Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
RenderPassEncoder.h Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
RenderPipeline.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
RenderPipeline.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Sampler.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Sampler.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
ShaderModule.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
ShaderModule.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
SwapChain.cpp Rename mipLevel to levelCount in TextureDescriptor 2018-10-31 10:51:11 +00:00
SwapChain.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Texture.cpp Add entry points for creating a cube map/cube map array texture view 2018-11-07 09:52:33 +00:00
Texture.h Implement CreateDefaultTextureView by CreateTextureView 2018-10-18 06:00:09 +00:00
ToBackend.h dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
dawn_platform.h Make dawn_native use its own header for Dawn datatypes 2018-07-27 12:56:26 +02:00