dawn-cmake/src/dawn_native/d3d12
Corentin Wallez 4196a546bf Add wgpu::TextureComponentType::DepthComparison
And deprecate using ::Float in the bind group layout for
"shadow textures" in the pipeline (along with a deprecation test).

Adds the ability to be used with DepthComparison only to depth textures,
this could potentially a breaking change if users where doing
depth-comparison on float32 textures but that's not supported in WebGPU.

Bug: dawn:527
Change-Id: Ib28b0443e3002e0aa2811713b9e843c2417e13e7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30240
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2020-10-16 14:13:16 +00:00
..
AdapterD3D12.cpp dawn.json: Expose the driver version in the adapter. 2020-10-14 13:33:15 +00:00
AdapterD3D12.h D3D12: Silence known debug layer warnings 2020-05-29 08:29:58 +00:00
BackendD3D12.cpp Enable GBV by default for correctness tests. 2020-07-29 19:44:41 +00:00
BackendD3D12.h [D3D12] Add DXGIAdapter to AdapterDiscoveryOptions 2020-07-15 18:26:17 +00:00
BindGroupD3D12.cpp Add wgpu::BindingType::MultisampledTexture 2020-09-24 11:41:07 +00:00
BindGroupD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
BindGroupLayoutD3D12.cpp Add wgpu::BindingType::MultisampledTexture 2020-09-24 11:41:07 +00:00
BindGroupLayoutD3D12.h Remove kMaxBindingsPerGroup limit 2020-07-14 22:20:35 +00:00
BufferD3D12.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
BufferD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
CPUDescriptorHeapAllocationD3D12.cpp Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
CPUDescriptorHeapAllocationD3D12.h Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
CommandAllocatorManager.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
CommandAllocatorManager.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
CommandBufferD3D12.cpp Format: Move the TexelBlockInfo inside an AspectInfo. 2020-10-15 09:05:03 +00:00
CommandBufferD3D12.h Eagerly destroy CommandBuffer commands after submission 2020-08-13 20:25:39 +00:00
CommandRecordingContext.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
CommandRecordingContext.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
ComputePipelineD3D12.cpp D3D12: Make HLSL generation per-entrypoint. 2020-09-09 22:55:17 +00:00
ComputePipelineD3D12.h D3D12: Remove ComPtr from D3D12 objects when possible. 2020-05-11 16:47:21 +00:00
D3D12Backend.cpp D3D12: Use typed integers for the ExternalMutexSerial 2020-09-28 17:10:24 +00:00
D3D12Error.cpp Fix AssertAndIgnoreDeviceLossError to handle errors injected by fuzzer 2020-06-16 17:53:38 +00:00
D3D12Error.h Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
D3D12Info.cpp D3D12: fix shader model comparison 2020-08-27 02:56:05 +00:00
D3D12Info.h D3D12Info: programmatically compute the shader profiles. 2020-07-29 09:34:11 +00:00
DeviceD3D12.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
DeviceD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
Forward.h Query API: QuerySet 2020-06-11 00:34:14 +00:00
GPUDescriptorHeapAllocationD3D12.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
GPUDescriptorHeapAllocationD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
HeapAllocatorD3D12.cpp Non-Local Residency 2: Implement Non-Local Management Logic 2020-04-23 21:50:32 +00:00
HeapAllocatorD3D12.h Non-Local Residency 2: Implement Non-Local Management Logic 2020-04-23 21:50:32 +00:00
HeapD3D12.cpp Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
HeapD3D12.h Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
IntegerTypes.h D3D12: Use typed integers for the ExternalMutexSerial 2020-09-28 17:10:24 +00:00
NativeSwapChainImplD3D12.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
NativeSwapChainImplD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
PageableD3D12.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
PageableD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
PipelineLayoutD3D12.cpp Add wgpu::BindingType::MultisampledTexture 2020-09-24 11:41:07 +00:00
PipelineLayoutD3D12.h Remove kMaxBindingsPerGroup limit 2020-07-14 22:20:35 +00:00
PlatformFunctions.cpp D3D12: Add a toggle to use DXC for HLSL compilation 2020-05-13 16:57:55 +00:00
PlatformFunctions.h D3D12: Add a toggle to use DXC for HLSL compilation 2020-05-13 16:57:55 +00:00
QuerySetD3D12.cpp Standardize the use of UNREACHABLE in switches. 2020-09-24 14:56:50 +00:00
QuerySetD3D12.h Query API: QuerySet on D3D12 2020-07-25 14:48:12 +00:00
QueueD3D12.cpp Refactoring Queue::WriteTexture implementation 2020-08-20 13:29:39 +00:00
QueueD3D12.h Refactoring Queue::WriteTexture implementation 2020-08-20 13:29:39 +00:00
RenderPassBuilderD3D12.cpp Add wgpu::TextureComponentType::DepthComparison 2020-10-16 14:13:16 +00:00
RenderPassBuilderD3D12.h Typeify ColorAttachmentIndex 2020-09-09 00:08:38 +00:00
RenderPipelineD3D12.cpp Add support for depthBias, depthBiasSlope, and depthBiasClamp 2020-10-06 08:12:29 +00:00
RenderPipelineD3D12.h D3D12: Remove ComPtr from D3D12 objects when possible. 2020-05-11 16:47:21 +00:00
ResidencyManagerD3D12.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
ResidencyManagerD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
ResourceAllocatorManagerD3D12.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
ResourceAllocatorManagerD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
ResourceHeapAllocationD3D12.cpp D3D12: Remove ComPtr from d3d12::Buffer::GetD3D12Resource 2020-06-29 08:50:03 +00:00
ResourceHeapAllocationD3D12.h D3D12: Remove ComPtr from d3d12::Buffer::GetD3D12Resource 2020-06-29 08:50:03 +00:00
SamplerD3D12.cpp Standardize the use of UNREACHABLE in switches. 2020-09-24 14:56:50 +00:00
SamplerD3D12.h Make RefCounted derived objects have private destructors 2020-04-06 18:20:02 +00:00
SamplerHeapCacheD3D12.cpp Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
SamplerHeapCacheD3D12.h Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
ShaderModuleD3D12.cpp D3D12: Make HLSL generation per-entrypoint. 2020-09-09 22:55:17 +00:00
ShaderModuleD3D12.h D3D12: Make HLSL generation per-entrypoint. 2020-09-09 22:55:17 +00:00
ShaderVisibleDescriptorAllocatorD3D12.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
ShaderVisibleDescriptorAllocatorD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
StagingBufferD3D12.cpp D3D12: Remove ComPtr from d3d12::Buffer::GetD3D12Resource 2020-06-29 08:50:03 +00:00
StagingBufferD3D12.h BUILD.gn: enable additional warnings. 2020-04-08 16:04:32 +00:00
StagingDescriptorAllocatorD3D12.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
StagingDescriptorAllocatorD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
SwapChainD3D12.cpp Optimize subresource tracking - use texture view 2020-06-15 18:26:12 +00:00
SwapChainD3D12.h Optimize subresource tracking - use texture view 2020-06-15 18:26:12 +00:00
TextureCopySplitter.cpp Format: Move the TexelBlockInfo inside an AspectInfo. 2020-10-15 09:05:03 +00:00
TextureCopySplitter.h Support depth-only/stencil-only copies on D3D12 2020-08-12 01:57:54 +00:00
TextureD3D12.cpp Format: Move the TexelBlockInfo inside an AspectInfo. 2020-10-15 09:05:03 +00:00
TextureD3D12.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
UtilsD3D12.cpp Format: Move the TexelBlockInfo inside an AspectInfo. 2020-10-15 09:05:03 +00:00
UtilsD3D12.h Support depth-only/stencil-only copies on D3D12 2020-08-12 01:57:54 +00:00
d3d12_platform.h d3d12_platform: ensure windows.h macros don't cause compile errors 2020-06-01 13:58:22 +00:00