mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 10:51:35 +00:00
Move src/backend to src/dawn_native
This commit is contained in:
parent
ff9626c751
commit
d37523fbde
@ -210,7 +210,7 @@ target_link_libraries(dawncpp dawn)
|
||||
add_subdirectory(third_party)
|
||||
|
||||
add_subdirectory(src/common)
|
||||
add_subdirectory(src/backend)
|
||||
add_subdirectory(src/dawn_native)
|
||||
add_subdirectory(src/wire)
|
||||
add_subdirectory(src/utils)
|
||||
add_subdirectory(src/tests)
|
||||
|
@ -389,7 +389,7 @@ def debug(text):
|
||||
print(text)
|
||||
|
||||
def main():
|
||||
targets = ['dawn', 'dawncpp', 'mock_dawn', 'opengl', 'metal', 'd3d12', 'null', 'wire']
|
||||
targets = ['dawn', 'dawncpp', 'mock_dawn', 'opengl', 'metal', 'd3d12', 'null', 'wire', "dawn_native_utils"]
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
description = 'Generates code for various target for Dawn.',
|
||||
@ -473,11 +473,11 @@ def main():
|
||||
backend_params = {
|
||||
'namespace': backend,
|
||||
}
|
||||
renders.append(FileRender('backend/ProcTable.cpp', 'backend/' + backend + '/ProcTable.' + extension, base_backend_params + [backend_params]))
|
||||
renders.append(FileRender('dawn_native/ProcTable.cpp', 'dawn_native/' + backend + '/ProcTable.' + extension, base_backend_params + [backend_params]))
|
||||
|
||||
if 'backend_utils' in targets:
|
||||
renders.append(FileRender('backend/ValidationUtils.h', 'backend/ValidationUtils_autogen.h', base_backend_params))
|
||||
renders.append(FileRender('backend/ValidationUtils.cpp', 'backend/ValidationUtils_autogen.cpp', base_backend_params))
|
||||
if 'dawn_native_utils' in targets:
|
||||
renders.append(FileRender('dawn_native/ValidationUtils.h', 'dawn_native/ValidationUtils_autogen.h', base_backend_params))
|
||||
renders.append(FileRender('dawn_native/ValidationUtils.cpp', 'dawn_native/ValidationUtils_autogen.cpp', base_backend_params))
|
||||
|
||||
if 'wire' in targets:
|
||||
renders.append(FileRender('wire/WireCmd.h', 'wire/WireCmd_autogen.h', base_backend_params))
|
||||
|
@ -17,9 +17,9 @@
|
||||
|
||||
#include "common/Assert.h"
|
||||
|
||||
#include "backend/ErrorData.h"
|
||||
#include "backend/ValidationUtils_autogen.h"
|
||||
#include "backend/{{namespace}}/GeneratedCodeIncludes.h"
|
||||
#include "dawn_native/ErrorData.h"
|
||||
#include "dawn_native/ValidationUtils_autogen.h"
|
||||
#include "dawn_native/{{namespace}}/GeneratedCodeIncludes.h"
|
||||
|
||||
namespace backend {
|
||||
namespace {{namespace}} {
|
@ -12,7 +12,7 @@
|
||||
//* See the License for the specific language governing permissions and
|
||||
//* limitations under the License.
|
||||
|
||||
#include "backend/ValidationUtils_autogen.h"
|
||||
#include "dawn_native/ValidationUtils_autogen.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
||||
#include "backend/Error.h"
|
||||
#include "dawn_native/Error.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -1,31 +0,0 @@
|
||||
// Copyright 2017 The Dawn Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/BindGroupD3D12.h"
|
||||
#include "backend/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "backend/d3d12/BlendStateD3D12.h"
|
||||
#include "backend/d3d12/BufferD3D12.h"
|
||||
#include "backend/d3d12/CommandBufferD3D12.h"
|
||||
#include "backend/d3d12/ComputePipelineD3D12.h"
|
||||
#include "backend/d3d12/DepthStencilStateD3D12.h"
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "backend/d3d12/InputStateD3D12.h"
|
||||
#include "backend/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "backend/d3d12/QueueD3D12.h"
|
||||
#include "backend/d3d12/RenderPassDescriptorD3D12.h"
|
||||
#include "backend/d3d12/RenderPipelineD3D12.h"
|
||||
#include "backend/d3d12/SamplerD3D12.h"
|
||||
#include "backend/d3d12/ShaderModuleD3D12.h"
|
||||
#include "backend/d3d12/SwapChainD3D12.h"
|
||||
#include "backend/d3d12/TextureD3D12.h"
|
@ -1,31 +0,0 @@
|
||||
// Copyright 2017 The Dawn Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/BindGroup.h"
|
||||
#include "backend/BindGroupLayout.h"
|
||||
#include "backend/RenderPassDescriptor.h"
|
||||
#include "backend/metal/BlendStateMTL.h"
|
||||
#include "backend/metal/BufferMTL.h"
|
||||
#include "backend/metal/CommandBufferMTL.h"
|
||||
#include "backend/metal/ComputePipelineMTL.h"
|
||||
#include "backend/metal/DepthStencilStateMTL.h"
|
||||
#include "backend/metal/DeviceMTL.h"
|
||||
#include "backend/metal/InputStateMTL.h"
|
||||
#include "backend/metal/PipelineLayoutMTL.h"
|
||||
#include "backend/metal/QueueMTL.h"
|
||||
#include "backend/metal/RenderPipelineMTL.h"
|
||||
#include "backend/metal/SamplerMTL.h"
|
||||
#include "backend/metal/ShaderModuleMTL.h"
|
||||
#include "backend/metal/SwapChainMTL.h"
|
||||
#include "backend/metal/TextureMTL.h"
|
@ -1,32 +0,0 @@
|
||||
// Copyright 2017 The Dawn Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/BindGroup.h"
|
||||
#include "backend/BindGroupLayout.h"
|
||||
#include "backend/RenderPassDescriptor.h"
|
||||
#include "backend/opengl/BlendStateGL.h"
|
||||
#include "backend/opengl/BufferGL.h"
|
||||
#include "backend/opengl/CommandBufferGL.h"
|
||||
#include "backend/opengl/ComputePipelineGL.h"
|
||||
#include "backend/opengl/DepthStencilStateGL.h"
|
||||
#include "backend/opengl/DeviceGL.h"
|
||||
#include "backend/opengl/InputStateGL.h"
|
||||
#include "backend/opengl/PersistentPipelineStateGL.h"
|
||||
#include "backend/opengl/PipelineLayoutGL.h"
|
||||
#include "backend/opengl/QueueGL.h"
|
||||
#include "backend/opengl/RenderPipelineGL.h"
|
||||
#include "backend/opengl/SamplerGL.h"
|
||||
#include "backend/opengl/ShaderModuleGL.h"
|
||||
#include "backend/opengl/SwapChainGL.h"
|
||||
#include "backend/opengl/TextureGL.h"
|
@ -1,31 +0,0 @@
|
||||
// Copyright 2017 The Dawn Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/vulkan/BindGroupLayoutVk.h"
|
||||
#include "backend/vulkan/BindGroupVk.h"
|
||||
#include "backend/vulkan/BlendStateVk.h"
|
||||
#include "backend/vulkan/BufferVk.h"
|
||||
#include "backend/vulkan/CommandBufferVk.h"
|
||||
#include "backend/vulkan/ComputePipelineVk.h"
|
||||
#include "backend/vulkan/DepthStencilStateVk.h"
|
||||
#include "backend/vulkan/DeviceVk.h"
|
||||
#include "backend/vulkan/InputStateVk.h"
|
||||
#include "backend/vulkan/PipelineLayoutVk.h"
|
||||
#include "backend/vulkan/QueueVk.h"
|
||||
#include "backend/vulkan/RenderPassDescriptorVk.h"
|
||||
#include "backend/vulkan/RenderPipelineVk.h"
|
||||
#include "backend/vulkan/SamplerVk.h"
|
||||
#include "backend/vulkan/ShaderModuleVk.h"
|
||||
#include "backend/vulkan/SwapChainVk.h"
|
||||
#include "backend/vulkan/TextureVk.h"
|
@ -15,6 +15,8 @@
|
||||
#ifndef COMMON_SWAPCHAINUTILS_H_
|
||||
#define COMMON_SWAPCHAINUTILS_H_
|
||||
|
||||
#include "dawn/dawn_wsi.h"
|
||||
|
||||
template <typename T>
|
||||
dawnSwapChainImplementation CreateSwapChainImplementation(T* swapChain) {
|
||||
dawnSwapChainImplementation impl = {};
|
||||
|
@ -12,14 +12,14 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/BindGroup.h"
|
||||
#include "dawn_native/BindGroup.h"
|
||||
|
||||
#include "backend/BindGroupLayout.h"
|
||||
#include "backend/Buffer.h"
|
||||
#include "backend/Device.h"
|
||||
#include "backend/Texture.h"
|
||||
#include "common/Assert.h"
|
||||
#include "common/Math.h"
|
||||
#include "dawn_native/BindGroupLayout.h"
|
||||
#include "dawn_native/Buffer.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/Texture.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,11 +15,11 @@
|
||||
#ifndef BACKEND_BINDGROUP_H_
|
||||
#define BACKEND_BINDGROUP_H_
|
||||
|
||||
#include "backend/BindGroupLayout.h"
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "common/Constants.h"
|
||||
#include "dawn_native/BindGroupLayout.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/BindGroupLayout.h"
|
||||
#include "dawn_native/BindGroupLayout.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "backend/ValidationUtils_autogen.h"
|
||||
#include "common/BitSetIterator.h"
|
||||
#include "common/HashUtils.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/ValidationUtils_autogen.h"
|
||||
|
||||
#include <functional>
|
||||
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_BINDGROUPLAYOUT_H_
|
||||
#define BACKEND_BINDGROUPLAYOUT_H_
|
||||
|
||||
#include "backend/Error.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "common/Constants.h"
|
||||
#include "dawn_native/Error.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/BlendState.h"
|
||||
#include "dawn_native/BlendState.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_BLENDSTATE_H_
|
||||
#define BACKEND_BLENDSTATE_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/Buffer.h"
|
||||
#include "dawn_native/Buffer.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <utility>
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_BUFFER_H_
|
||||
#define BACKEND_BUFFER_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Error.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Error.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,8 +15,8 @@
|
||||
#ifndef BACKEND_BUILDER_H_
|
||||
#define BACKEND_BUILDER_H_
|
||||
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
set(BACKEND_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
set(DAWN_NATIVE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
set(D3D12_DIR ${CMAKE_CURRENT_SOURCE_DIR}/d3d12)
|
||||
set(METAL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/metal)
|
||||
set(NULL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/null)
|
||||
@ -20,29 +20,29 @@ set(OPENGL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/opengl)
|
||||
set(VULKAN_DIR ${CMAKE_CURRENT_SOURCE_DIR}/vulkan)
|
||||
|
||||
Generate(
|
||||
LIB_NAME backend_utils_autogen
|
||||
LIB_NAME dawn_native_utils_autogen
|
||||
LIB_TYPE STATIC
|
||||
FOLDER "backend"
|
||||
PRINT_NAME "Autogenerated backend utilities"
|
||||
FOLDER "dawn_native"
|
||||
PRINT_NAME "Autogenerated dawn_native utilities"
|
||||
COMMAND_LINE_ARGS
|
||||
${GENERATOR_COMMON_ARGS}
|
||||
-T backend_utils
|
||||
-T dawn_native_utils
|
||||
)
|
||||
target_link_libraries(backend_utils_autogen dawncpp)
|
||||
target_include_directories(backend_utils_autogen PUBLIC ${GENERATED_DIR})
|
||||
target_include_directories(backend_utils_autogen PRIVATE ${SRC_DIR})
|
||||
target_link_libraries(dawn_native_utils_autogen dawncpp)
|
||||
target_include_directories(dawn_native_utils_autogen PUBLIC ${GENERATED_DIR})
|
||||
target_include_directories(dawn_native_utils_autogen PRIVATE ${SRC_DIR})
|
||||
|
||||
function(GenerateProcTable backend)
|
||||
Generate(
|
||||
LIB_NAME ${backend}_autogen
|
||||
LIB_TYPE STATIC
|
||||
FOLDER "backend"
|
||||
FOLDER "dawn_native"
|
||||
PRINT_NAME "${backend} backend autogenerated files"
|
||||
COMMAND_LINE_ARGS
|
||||
${GENERATOR_COMMON_ARGS}
|
||||
-T ${backend}
|
||||
)
|
||||
target_link_libraries(${backend}_autogen dawncpp backend_utils_autogen)
|
||||
target_link_libraries(${backend}_autogen dawncpp dawn_native_utils_autogen)
|
||||
target_include_directories(${backend}_autogen PRIVATE ${SRC_DIR})
|
||||
target_include_directories(${backend}_autogen PUBLIC ${GENERATED_DIR})
|
||||
endfunction()
|
||||
@ -55,7 +55,7 @@ if (DAWN_ENABLE_OPENGL)
|
||||
GenerateProcTable(opengl)
|
||||
target_link_libraries(opengl_autogen glfw glad)
|
||||
|
||||
list(APPEND BACKEND_SOURCES
|
||||
list(APPEND DAWN_NATIVE_SOURCES
|
||||
${OPENGL_DIR}/BlendStateGL.cpp
|
||||
${OPENGL_DIR}/BlendStateGL.h
|
||||
${OPENGL_DIR}/BufferGL.cpp
|
||||
@ -99,7 +99,7 @@ endif()
|
||||
if (DAWN_ENABLE_NULL)
|
||||
GenerateProcTable(null)
|
||||
|
||||
list(APPEND BACKEND_SOURCES
|
||||
list(APPEND DAWN_NATIVE_SOURCES
|
||||
${NULL_DIR}/NullBackend.cpp
|
||||
${NULL_DIR}/NullBackend.h
|
||||
)
|
||||
@ -113,7 +113,7 @@ if (DAWN_ENABLE_METAL)
|
||||
GenerateProcTable(metal)
|
||||
target_link_libraries(metal_autogen "-framework QuartzCore" "-framework Metal")
|
||||
|
||||
list(APPEND BACKEND_SOURCES
|
||||
list(APPEND DAWN_NATIVE_SOURCES
|
||||
${METAL_DIR}/BlendStateMTL.mm
|
||||
${METAL_DIR}/BlendStateMTL.h
|
||||
${METAL_DIR}/BufferMTL.mm
|
||||
@ -213,7 +213,7 @@ if (DAWN_ENABLE_D3D12)
|
||||
target_link_libraries(d3d12_autogen ${D3D12_LIBRARIES})
|
||||
target_include_directories(d3d12_autogen SYSTEM PRIVATE ${D3D12_INCLUDE_DIR} ${DXGI_INCLUDE_DIR})
|
||||
|
||||
list(APPEND BACKEND_SOURCES
|
||||
list(APPEND DAWN_NATIVE_SOURCES
|
||||
${D3D12_DIR}/d3d12_platform.h
|
||||
${D3D12_DIR}/BindGroupD3D12.cpp
|
||||
${D3D12_DIR}/BindGroupD3D12.h
|
||||
@ -273,7 +273,7 @@ if (DAWN_ENABLE_VULKAN)
|
||||
GenerateProcTable(vulkan)
|
||||
target_include_directories(vulkan_autogen PUBLIC ${VULKAN_HEADERS_INCLUDE_DIR})
|
||||
|
||||
list(APPEND BACKEND_SOURCES
|
||||
list(APPEND DAWN_NATIVE_SOURCES
|
||||
${VULKAN_DIR}/BindGroupVk.cpp
|
||||
${VULKAN_DIR}/BindGroupVk.h
|
||||
${VULKAN_DIR}/BindGroupLayoutVk.cpp
|
||||
@ -330,80 +330,80 @@ endif()
|
||||
# Common sources and definition of the library
|
||||
################################################################################
|
||||
|
||||
list(APPEND BACKEND_SOURCES
|
||||
${BACKEND_DIR}/BindGroup.cpp
|
||||
${BACKEND_DIR}/BindGroup.h
|
||||
${BACKEND_DIR}/BindGroupLayout.cpp
|
||||
${BACKEND_DIR}/BindGroupLayout.h
|
||||
${BACKEND_DIR}/BlendState.cpp
|
||||
${BACKEND_DIR}/BlendState.h
|
||||
${BACKEND_DIR}/Builder.cpp
|
||||
${BACKEND_DIR}/Builder.h
|
||||
${BACKEND_DIR}/Buffer.cpp
|
||||
${BACKEND_DIR}/Buffer.h
|
||||
${BACKEND_DIR}/CommandAllocator.cpp
|
||||
${BACKEND_DIR}/CommandAllocator.h
|
||||
${BACKEND_DIR}/CommandBuffer.cpp
|
||||
${BACKEND_DIR}/CommandBuffer.h
|
||||
${BACKEND_DIR}/Commands.cpp
|
||||
${BACKEND_DIR}/Commands.h
|
||||
${BACKEND_DIR}/ComputePipeline.cpp
|
||||
${BACKEND_DIR}/ComputePipeline.h
|
||||
${BACKEND_DIR}/DepthStencilState.cpp
|
||||
${BACKEND_DIR}/DepthStencilState.h
|
||||
${BACKEND_DIR}/CommandBufferStateTracker.cpp
|
||||
${BACKEND_DIR}/CommandBufferStateTracker.h
|
||||
${BACKEND_DIR}/Device.cpp
|
||||
${BACKEND_DIR}/Device.h
|
||||
${BACKEND_DIR}/Error.cpp
|
||||
${BACKEND_DIR}/Error.h
|
||||
${BACKEND_DIR}/ErrorData.cpp
|
||||
${BACKEND_DIR}/ErrorData.h
|
||||
${BACKEND_DIR}/Forward.h
|
||||
${BACKEND_DIR}/InputState.cpp
|
||||
${BACKEND_DIR}/InputState.h
|
||||
${BACKEND_DIR}/RenderPipeline.cpp
|
||||
${BACKEND_DIR}/RenderPipeline.h
|
||||
${BACKEND_DIR}/PassResourceUsage.h
|
||||
${BACKEND_DIR}/PerStage.cpp
|
||||
${BACKEND_DIR}/PerStage.h
|
||||
${BACKEND_DIR}/Pipeline.cpp
|
||||
${BACKEND_DIR}/Pipeline.h
|
||||
${BACKEND_DIR}/PipelineLayout.cpp
|
||||
${BACKEND_DIR}/PipelineLayout.h
|
||||
${BACKEND_DIR}/Queue.cpp
|
||||
${BACKEND_DIR}/Queue.h
|
||||
${BACKEND_DIR}/RenderPassDescriptor.cpp
|
||||
${BACKEND_DIR}/RenderPassDescriptor.h
|
||||
${BACKEND_DIR}/RefCounted.cpp
|
||||
${BACKEND_DIR}/RefCounted.h
|
||||
${BACKEND_DIR}/Sampler.cpp
|
||||
${BACKEND_DIR}/Sampler.h
|
||||
${BACKEND_DIR}/ShaderModule.cpp
|
||||
${BACKEND_DIR}/ShaderModule.h
|
||||
${BACKEND_DIR}/SwapChain.cpp
|
||||
${BACKEND_DIR}/SwapChain.h
|
||||
${BACKEND_DIR}/Texture.cpp
|
||||
${BACKEND_DIR}/Texture.h
|
||||
${BACKEND_DIR}/ToBackend.h
|
||||
list(APPEND DAWN_NATIVE_SOURCES
|
||||
${DAWN_NATIVE_DIR}/BindGroup.cpp
|
||||
${DAWN_NATIVE_DIR}/BindGroup.h
|
||||
${DAWN_NATIVE_DIR}/BindGroupLayout.cpp
|
||||
${DAWN_NATIVE_DIR}/BindGroupLayout.h
|
||||
${DAWN_NATIVE_DIR}/BlendState.cpp
|
||||
${DAWN_NATIVE_DIR}/BlendState.h
|
||||
${DAWN_NATIVE_DIR}/Builder.cpp
|
||||
${DAWN_NATIVE_DIR}/Builder.h
|
||||
${DAWN_NATIVE_DIR}/Buffer.cpp
|
||||
${DAWN_NATIVE_DIR}/Buffer.h
|
||||
${DAWN_NATIVE_DIR}/CommandAllocator.cpp
|
||||
${DAWN_NATIVE_DIR}/CommandAllocator.h
|
||||
${DAWN_NATIVE_DIR}/CommandBuffer.cpp
|
||||
${DAWN_NATIVE_DIR}/CommandBuffer.h
|
||||
${DAWN_NATIVE_DIR}/Commands.cpp
|
||||
${DAWN_NATIVE_DIR}/Commands.h
|
||||
${DAWN_NATIVE_DIR}/ComputePipeline.cpp
|
||||
${DAWN_NATIVE_DIR}/ComputePipeline.h
|
||||
${DAWN_NATIVE_DIR}/DepthStencilState.cpp
|
||||
${DAWN_NATIVE_DIR}/DepthStencilState.h
|
||||
${DAWN_NATIVE_DIR}/CommandBufferStateTracker.cpp
|
||||
${DAWN_NATIVE_DIR}/CommandBufferStateTracker.h
|
||||
${DAWN_NATIVE_DIR}/Device.cpp
|
||||
${DAWN_NATIVE_DIR}/Device.h
|
||||
${DAWN_NATIVE_DIR}/Error.cpp
|
||||
${DAWN_NATIVE_DIR}/Error.h
|
||||
${DAWN_NATIVE_DIR}/ErrorData.cpp
|
||||
${DAWN_NATIVE_DIR}/ErrorData.h
|
||||
${DAWN_NATIVE_DIR}/Forward.h
|
||||
${DAWN_NATIVE_DIR}/InputState.cpp
|
||||
${DAWN_NATIVE_DIR}/InputState.h
|
||||
${DAWN_NATIVE_DIR}/RenderPipeline.cpp
|
||||
${DAWN_NATIVE_DIR}/RenderPipeline.h
|
||||
${DAWN_NATIVE_DIR}/PassResourceUsage.h
|
||||
${DAWN_NATIVE_DIR}/PerStage.cpp
|
||||
${DAWN_NATIVE_DIR}/PerStage.h
|
||||
${DAWN_NATIVE_DIR}/Pipeline.cpp
|
||||
${DAWN_NATIVE_DIR}/Pipeline.h
|
||||
${DAWN_NATIVE_DIR}/PipelineLayout.cpp
|
||||
${DAWN_NATIVE_DIR}/PipelineLayout.h
|
||||
${DAWN_NATIVE_DIR}/Queue.cpp
|
||||
${DAWN_NATIVE_DIR}/Queue.h
|
||||
${DAWN_NATIVE_DIR}/RenderPassDescriptor.cpp
|
||||
${DAWN_NATIVE_DIR}/RenderPassDescriptor.h
|
||||
${DAWN_NATIVE_DIR}/RefCounted.cpp
|
||||
${DAWN_NATIVE_DIR}/RefCounted.h
|
||||
${DAWN_NATIVE_DIR}/Sampler.cpp
|
||||
${DAWN_NATIVE_DIR}/Sampler.h
|
||||
${DAWN_NATIVE_DIR}/ShaderModule.cpp
|
||||
${DAWN_NATIVE_DIR}/ShaderModule.h
|
||||
${DAWN_NATIVE_DIR}/SwapChain.cpp
|
||||
${DAWN_NATIVE_DIR}/SwapChain.h
|
||||
${DAWN_NATIVE_DIR}/Texture.cpp
|
||||
${DAWN_NATIVE_DIR}/Texture.h
|
||||
${DAWN_NATIVE_DIR}/ToBackend.h
|
||||
)
|
||||
|
||||
add_library(dawn_backend STATIC ${BACKEND_SOURCES})
|
||||
DawnInternalTarget("backend" dawn_backend)
|
||||
target_link_libraries(dawn_backend dawn_common glfw glad spirv_cross)
|
||||
add_library(lib_dawn_native STATIC ${DAWN_NATIVE_SOURCES})
|
||||
DawnInternalTarget("dawn_native" lib_dawn_native)
|
||||
target_link_libraries(lib_dawn_native dawn_common glfw glad spirv_cross)
|
||||
|
||||
if (DAWN_ENABLE_D3D12)
|
||||
target_link_libraries(dawn_backend d3d12_autogen)
|
||||
target_link_libraries(lib_dawn_native d3d12_autogen)
|
||||
endif()
|
||||
if (DAWN_ENABLE_METAL)
|
||||
target_link_libraries(dawn_backend metal_autogen)
|
||||
target_link_libraries(lib_dawn_native metal_autogen)
|
||||
endif()
|
||||
if (DAWN_ENABLE_NULL)
|
||||
target_link_libraries(dawn_backend null_autogen)
|
||||
target_link_libraries(lib_dawn_native null_autogen)
|
||||
endif()
|
||||
if (DAWN_ENABLE_OPENGL)
|
||||
target_link_libraries(dawn_backend opengl_autogen)
|
||||
target_link_libraries(lib_dawn_native opengl_autogen)
|
||||
endif()
|
||||
if (DAWN_ENABLE_VULKAN)
|
||||
target_link_libraries(dawn_backend vulkan_autogen)
|
||||
target_link_libraries(lib_dawn_native vulkan_autogen)
|
||||
endif()
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/CommandAllocator.h"
|
||||
#include "dawn_native/CommandAllocator.h"
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "common/Math.h"
|
@ -12,18 +12,18 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/CommandBuffer.h"
|
||||
#include "dawn_native/CommandBuffer.h"
|
||||
|
||||
#include "backend/BindGroup.h"
|
||||
#include "backend/Buffer.h"
|
||||
#include "backend/CommandBufferStateTracker.h"
|
||||
#include "backend/Commands.h"
|
||||
#include "backend/ComputePipeline.h"
|
||||
#include "backend/Device.h"
|
||||
#include "backend/InputState.h"
|
||||
#include "backend/PipelineLayout.h"
|
||||
#include "backend/RenderPipeline.h"
|
||||
#include "backend/Texture.h"
|
||||
#include "dawn_native/BindGroup.h"
|
||||
#include "dawn_native/Buffer.h"
|
||||
#include "dawn_native/CommandBufferStateTracker.h"
|
||||
#include "dawn_native/Commands.h"
|
||||
#include "dawn_native/ComputePipeline.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/InputState.h"
|
||||
#include "dawn_native/PipelineLayout.h"
|
||||
#include "dawn_native/RenderPipeline.h"
|
||||
#include "dawn_native/Texture.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <map>
|
@ -17,11 +17,11 @@
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/CommandAllocator.h"
|
||||
#include "backend/Error.h"
|
||||
#include "backend/PassResourceUsage.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/CommandAllocator.h"
|
||||
#include "dawn_native/Error.h"
|
||||
#include "dawn_native/PassResourceUsage.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
@ -12,16 +12,16 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/CommandBufferStateTracker.h"
|
||||
#include "dawn_native/CommandBufferStateTracker.h"
|
||||
|
||||
#include "backend/BindGroup.h"
|
||||
#include "backend/ComputePipeline.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/InputState.h"
|
||||
#include "backend/PipelineLayout.h"
|
||||
#include "backend/RenderPipeline.h"
|
||||
#include "common/Assert.h"
|
||||
#include "common/BitSetIterator.h"
|
||||
#include "dawn_native/BindGroup.h"
|
||||
#include "dawn_native/ComputePipeline.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/InputState.h"
|
||||
#include "dawn_native/PipelineLayout.h"
|
||||
#include "dawn_native/RenderPipeline.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,8 +15,8 @@
|
||||
#ifndef BACKEND_COMMANDBUFFERSTATETRACKER_H
|
||||
#define BACKEND_COMMANDBUFFERSTATETRACKER_H
|
||||
|
||||
#include "backend/CommandBuffer.h"
|
||||
#include "common/Constants.h"
|
||||
#include "dawn_native/CommandBuffer.h"
|
||||
|
||||
#include <array>
|
||||
#include <bitset>
|
@ -12,14 +12,14 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/Commands.h"
|
||||
#include "dawn_native/Commands.h"
|
||||
|
||||
#include "backend/BindGroup.h"
|
||||
#include "backend/Buffer.h"
|
||||
#include "backend/CommandAllocator.h"
|
||||
#include "backend/ComputePipeline.h"
|
||||
#include "backend/RenderPipeline.h"
|
||||
#include "backend/Texture.h"
|
||||
#include "dawn_native/BindGroup.h"
|
||||
#include "dawn_native/Buffer.h"
|
||||
#include "dawn_native/CommandAllocator.h"
|
||||
#include "dawn_native/ComputePipeline.h"
|
||||
#include "dawn_native/RenderPipeline.h"
|
||||
#include "dawn_native/Texture.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,8 +15,8 @@
|
||||
#ifndef BACKEND_COMMANDS_H_
|
||||
#define BACKEND_COMMANDS_H_
|
||||
|
||||
#include "backend/RenderPassDescriptor.h"
|
||||
#include "backend/Texture.h"
|
||||
#include "dawn_native/RenderPassDescriptor.h"
|
||||
#include "dawn_native/Texture.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/ComputePipeline.h"
|
||||
#include "dawn_native/ComputePipeline.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,7 +15,7 @@
|
||||
#ifndef BACKEND_COMPUTEPIPELINE_H_
|
||||
#define BACKEND_COMPUTEPIPELINE_H_
|
||||
|
||||
#include "backend/Pipeline.h"
|
||||
#include "dawn_native/Pipeline.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/DepthStencilState.h"
|
||||
#include "dawn_native/DepthStencilState.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_DEPTHSTENCILSTATE_H_
|
||||
#define BACKEND_DEPTHSTENCILSTATE_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,25 +12,25 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
#include "backend/BindGroup.h"
|
||||
#include "backend/BindGroupLayout.h"
|
||||
#include "backend/BlendState.h"
|
||||
#include "backend/Buffer.h"
|
||||
#include "backend/CommandBuffer.h"
|
||||
#include "backend/ComputePipeline.h"
|
||||
#include "backend/DepthStencilState.h"
|
||||
#include "backend/ErrorData.h"
|
||||
#include "backend/InputState.h"
|
||||
#include "backend/PipelineLayout.h"
|
||||
#include "backend/Queue.h"
|
||||
#include "backend/RenderPassDescriptor.h"
|
||||
#include "backend/RenderPipeline.h"
|
||||
#include "backend/Sampler.h"
|
||||
#include "backend/ShaderModule.h"
|
||||
#include "backend/SwapChain.h"
|
||||
#include "backend/Texture.h"
|
||||
#include "dawn_native/BindGroup.h"
|
||||
#include "dawn_native/BindGroupLayout.h"
|
||||
#include "dawn_native/BlendState.h"
|
||||
#include "dawn_native/Buffer.h"
|
||||
#include "dawn_native/CommandBuffer.h"
|
||||
#include "dawn_native/ComputePipeline.h"
|
||||
#include "dawn_native/DepthStencilState.h"
|
||||
#include "dawn_native/ErrorData.h"
|
||||
#include "dawn_native/InputState.h"
|
||||
#include "dawn_native/PipelineLayout.h"
|
||||
#include "dawn_native/Queue.h"
|
||||
#include "dawn_native/RenderPassDescriptor.h"
|
||||
#include "dawn_native/RenderPipeline.h"
|
||||
#include "dawn_native/Sampler.h"
|
||||
#include "dawn_native/ShaderModule.h"
|
||||
#include "dawn_native/SwapChain.h"
|
||||
#include "dawn_native/Texture.h"
|
||||
|
||||
#include <unordered_set>
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_DEVICEBASE_H_
|
||||
#define BACKEND_DEVICEBASE_H_
|
||||
|
||||
#include "backend/Error.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Error.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/Error.h"
|
||||
#include "dawn_native/Error.h"
|
||||
|
||||
#include "backend/ErrorData.h"
|
||||
#include "dawn_native/ErrorData.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/ErrorData.h"
|
||||
#include "dawn_native/ErrorData.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/InputState.h"
|
||||
#include "dawn_native/InputState.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_INPUTSTATE_H_
|
||||
#define BACKEND_INPUTSTATE_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "common/Constants.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/PerStage.h"
|
||||
#include "dawn_native/PerStage.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -12,13 +12,13 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/Pipeline.h"
|
||||
#include "dawn_native/Pipeline.h"
|
||||
|
||||
#include "backend/DepthStencilState.h"
|
||||
#include "backend/Device.h"
|
||||
#include "backend/InputState.h"
|
||||
#include "backend/PipelineLayout.h"
|
||||
#include "backend/ShaderModule.h"
|
||||
#include "dawn_native/DepthStencilState.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/InputState.h"
|
||||
#include "dawn_native/PipelineLayout.h"
|
||||
#include "dawn_native/ShaderModule.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,12 +15,12 @@
|
||||
#ifndef BACKEND_PIPELINE_H_
|
||||
#define BACKEND_PIPELINE_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/PerStage.h"
|
||||
#include "backend/PipelineLayout.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "backend/ShaderModule.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/PerStage.h"
|
||||
#include "dawn_native/PipelineLayout.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
#include "dawn_native/ShaderModule.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/PipelineLayout.h"
|
||||
#include "dawn_native/PipelineLayout.h"
|
||||
|
||||
#include "backend/BindGroupLayout.h"
|
||||
#include "backend/Device.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/BindGroupLayout.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_PIPELINELAYOUT_H_
|
||||
#define BACKEND_PIPELINELAYOUT_H_
|
||||
|
||||
#include "backend/Error.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "common/Constants.h"
|
||||
#include "dawn_native/Error.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/Queue.h"
|
||||
#include "dawn_native/Queue.h"
|
||||
|
||||
#include "backend/CommandBuffer.h"
|
||||
#include "backend/Device.h"
|
||||
#include "dawn_native/CommandBuffer.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_QUEUE_H_
|
||||
#define BACKEND_QUEUE_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Error.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Error.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "common/Assert.h"
|
||||
|
@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/RenderPassDescriptor.h"
|
||||
#include "dawn_native/RenderPassDescriptor.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "backend/Texture.h"
|
||||
#include "common/Assert.h"
|
||||
#include "common/BitSetIterator.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/Texture.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_RENDERPASSDESCRIPTOR_H_
|
||||
#define BACKEND_RENDERPASSDESCRIPTOR_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "common/Constants.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,15 +12,15 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/RenderPipeline.h"
|
||||
#include "dawn_native/RenderPipeline.h"
|
||||
|
||||
#include "backend/BlendState.h"
|
||||
#include "backend/DepthStencilState.h"
|
||||
#include "backend/Device.h"
|
||||
#include "backend/InputState.h"
|
||||
#include "backend/RenderPassDescriptor.h"
|
||||
#include "backend/Texture.h"
|
||||
#include "common/BitSetIterator.h"
|
||||
#include "dawn_native/BlendState.h"
|
||||
#include "dawn_native/DepthStencilState.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/InputState.h"
|
||||
#include "dawn_native/RenderPassDescriptor.h"
|
||||
#include "dawn_native/Texture.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_RENDERPIPELINE_H_
|
||||
#define BACKEND_RENDERPIPELINE_H_
|
||||
|
||||
#include "backend/BlendState.h"
|
||||
#include "backend/DepthStencilState.h"
|
||||
#include "backend/InputState.h"
|
||||
#include "backend/Pipeline.h"
|
||||
#include "dawn_native/BlendState.h"
|
||||
#include "dawn_native/DepthStencilState.h"
|
||||
#include "dawn_native/InputState.h"
|
||||
#include "dawn_native/Pipeline.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/Sampler.h"
|
||||
#include "dawn_native/Sampler.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "backend/ValidationUtils_autogen.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/ValidationUtils_autogen.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,8 +15,8 @@
|
||||
#ifndef BACKEND_SAMPLER_H_
|
||||
#define BACKEND_SAMPLER_H_
|
||||
|
||||
#include "backend/Error.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Error.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/ShaderModule.h"
|
||||
#include "dawn_native/ShaderModule.h"
|
||||
|
||||
#include "backend/BindGroupLayout.h"
|
||||
#include "backend/Device.h"
|
||||
#include "backend/Pipeline.h"
|
||||
#include "backend/PipelineLayout.h"
|
||||
#include "dawn_native/BindGroupLayout.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/Pipeline.h"
|
||||
#include "dawn_native/PipelineLayout.h"
|
||||
|
||||
#include <spirv-cross/spirv_cross.hpp>
|
||||
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_SHADERMODULE_H_
|
||||
#define BACKEND_SHADERMODULE_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "common/Constants.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/SwapChain.h"
|
||||
#include "dawn_native/SwapChain.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "backend/Texture.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/Texture.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_SWAPCHAIN_H_
|
||||
#define BACKEND_SWAPCHAIN_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawn_wsi.h"
|
||||
#include "dawn/dawncpp.h"
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/Texture.h"
|
||||
#include "dawn_native/Texture.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/Device.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_TEXTURE_H_
|
||||
#define BACKEND_TEXTURE_H_
|
||||
|
||||
#include "backend/Builder.h"
|
||||
#include "backend/Forward.h"
|
||||
#include "backend/RefCounted.h"
|
||||
#include "dawn_native/Builder.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
#include "dawn_native/RefCounted.h"
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
@ -15,7 +15,7 @@
|
||||
#ifndef BACKEND_TOBACKEND_H_
|
||||
#define BACKEND_TOBACKEND_H_
|
||||
|
||||
#include "backend/Forward.h"
|
||||
#include "dawn_native/Forward.h"
|
||||
|
||||
namespace backend {
|
||||
|
@ -12,14 +12,14 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/BindGroupD3D12.h"
|
||||
#include "backend/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "backend/d3d12/BufferD3D12.h"
|
||||
#include "backend/d3d12/SamplerD3D12.h"
|
||||
#include "backend/d3d12/TextureD3D12.h"
|
||||
#include "dawn_native/d3d12/BindGroupD3D12.h"
|
||||
#include "common/BitSetIterator.h"
|
||||
#include "dawn_native/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/BufferD3D12.h"
|
||||
#include "dawn_native/d3d12/SamplerD3D12.h"
|
||||
#include "dawn_native/d3d12/TextureD3D12.h"
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,11 +15,11 @@
|
||||
#ifndef BACKEND_D3D12_BINDGROUPD3D12_H_
|
||||
#define BACKEND_D3D12_BINDGROUPD3D12_H_
|
||||
|
||||
#include "backend/BindGroup.h"
|
||||
#include "dawn_native/BindGroup.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
#include "backend/d3d12/DescriptorHeapAllocator.h"
|
||||
#include "dawn_native/d3d12/DescriptorHeapAllocator.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/BindGroupLayoutD3D12.h"
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "common/BitSetIterator.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_D3D12_BINDGROUPLAYOUTD3D12_H_
|
||||
#define BACKEND_D3D12_BINDGROUPLAYOUTD3D12_H_
|
||||
|
||||
#include "backend/BindGroupLayout.h"
|
||||
#include "dawn_native/BindGroupLayout.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/BlendStateD3D12.h"
|
||||
#include "dawn_native/d3d12/BlendStateD3D12.h"
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_D3D12_BLENDSTATED3D12_H_
|
||||
#define BACKEND_D3D12_BLENDSTATED3D12_H_
|
||||
|
||||
#include "backend/BlendState.h"
|
||||
#include "dawn_native/BlendState.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,14 +12,14 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/BufferD3D12.h"
|
||||
#include "dawn_native/d3d12/BufferD3D12.h"
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "backend/d3d12/ResourceAllocator.h"
|
||||
#include "backend/d3d12/ResourceUploader.h"
|
||||
#include "common/Assert.h"
|
||||
#include "common/Constants.h"
|
||||
#include "common/Math.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/ResourceAllocator.h"
|
||||
#include "dawn_native/d3d12/ResourceUploader.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_D3D12_BUFFERD3D12_H_
|
||||
#define BACKEND_D3D12_BUFFERD3D12_H_
|
||||
|
||||
#include "backend/Buffer.h"
|
||||
#include "common/SerialQueue.h"
|
||||
#include "dawn_native/Buffer.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/CommandAllocatorManager.h"
|
||||
#include "dawn_native/d3d12/CommandAllocatorManager.h"
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "common/BitSetIterator.h"
|
@ -15,7 +15,7 @@
|
||||
#ifndef BACKEND_D3D12_COMMANDALLOCATORMANAGER_H_
|
||||
#define BACKEND_D3D12_COMMANDALLOCATORMANAGER_H_
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
#include "common/SerialQueue.h"
|
||||
|
@ -12,24 +12,24 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/CommandBufferD3D12.h"
|
||||
#include "dawn_native/d3d12/CommandBufferD3D12.h"
|
||||
|
||||
#include "backend/Commands.h"
|
||||
#include "backend/d3d12/BindGroupD3D12.h"
|
||||
#include "backend/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "backend/d3d12/BufferD3D12.h"
|
||||
#include "backend/d3d12/ComputePipelineD3D12.h"
|
||||
#include "backend/d3d12/DescriptorHeapAllocator.h"
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "backend/d3d12/InputStateD3D12.h"
|
||||
#include "backend/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "backend/d3d12/RenderPassDescriptorD3D12.h"
|
||||
#include "backend/d3d12/RenderPipelineD3D12.h"
|
||||
#include "backend/d3d12/ResourceAllocator.h"
|
||||
#include "backend/d3d12/SamplerD3D12.h"
|
||||
#include "backend/d3d12/TextureCopySplitter.h"
|
||||
#include "backend/d3d12/TextureD3D12.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/Commands.h"
|
||||
#include "dawn_native/d3d12/BindGroupD3D12.h"
|
||||
#include "dawn_native/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/BufferD3D12.h"
|
||||
#include "dawn_native/d3d12/ComputePipelineD3D12.h"
|
||||
#include "dawn_native/d3d12/DescriptorHeapAllocator.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/InputStateD3D12.h"
|
||||
#include "dawn_native/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/RenderPassDescriptorD3D12.h"
|
||||
#include "dawn_native/d3d12/RenderPipelineD3D12.h"
|
||||
#include "dawn_native/d3d12/ResourceAllocator.h"
|
||||
#include "dawn_native/d3d12/SamplerD3D12.h"
|
||||
#include "dawn_native/d3d12/TextureCopySplitter.h"
|
||||
#include "dawn_native/d3d12/TextureD3D12.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,10 +15,10 @@
|
||||
#ifndef BACKEND_D3D12_COMMANDBUFFERD3D12_H_
|
||||
#define BACKEND_D3D12_COMMANDBUFFERD3D12_H_
|
||||
|
||||
#include "backend/CommandAllocator.h"
|
||||
#include "backend/CommandBuffer.h"
|
||||
#include "dawn_native/CommandAllocator.h"
|
||||
#include "dawn_native/CommandBuffer.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/ComputePipelineD3D12.h"
|
||||
#include "dawn_native/d3d12/ComputePipelineD3D12.h"
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "backend/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "backend/d3d12/ShaderModuleD3D12.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/ShaderModuleD3D12.h"
|
||||
|
||||
#include <d3dcompiler.h>
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_D3D12_COMPUTEPIPELINED3D12_H_
|
||||
#define BACKEND_D3D12_COMPUTEPIPELINED3D12_H_
|
||||
|
||||
#include "backend/ComputePipeline.h"
|
||||
#include "dawn_native/ComputePipeline.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/DepthStencilStateD3D12.h"
|
||||
#include "dawn_native/d3d12/DepthStencilStateD3D12.h"
|
||||
|
||||
#include "common/BitSetIterator.h"
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_D3D12_DEPTHSTENCILSTATED3D12_H_
|
||||
#define BACKEND_D3D12_DEPTHSTENCILSTATED3D12_H_
|
||||
|
||||
#include "backend/DepthStencilState.h"
|
||||
#include "dawn_native/DepthStencilState.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/DescriptorHeapAllocator.h"
|
||||
#include "dawn_native/d3d12/DescriptorHeapAllocator.h"
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,7 +15,7 @@
|
||||
#ifndef BACKEND_D3D12_DESCRIPTORHEAPALLOCATOR_H_
|
||||
#define BACKEND_D3D12_DESCRIPTORHEAPALLOCATOR_H_
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
#include <array>
|
||||
#include <vector>
|
@ -12,31 +12,31 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
|
||||
#include "backend/d3d12/BindGroupD3D12.h"
|
||||
#include "backend/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "backend/d3d12/BlendStateD3D12.h"
|
||||
#include "backend/d3d12/BufferD3D12.h"
|
||||
#include "backend/d3d12/CommandAllocatorManager.h"
|
||||
#include "backend/d3d12/CommandBufferD3D12.h"
|
||||
#include "backend/d3d12/ComputePipelineD3D12.h"
|
||||
#include "backend/d3d12/DepthStencilStateD3D12.h"
|
||||
#include "backend/d3d12/DescriptorHeapAllocator.h"
|
||||
#include "backend/d3d12/InputStateD3D12.h"
|
||||
#include "backend/d3d12/NativeSwapChainImplD3D12.h"
|
||||
#include "backend/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "backend/d3d12/QueueD3D12.h"
|
||||
#include "backend/d3d12/RenderPassDescriptorD3D12.h"
|
||||
#include "backend/d3d12/RenderPipelineD3D12.h"
|
||||
#include "backend/d3d12/ResourceAllocator.h"
|
||||
#include "backend/d3d12/ResourceUploader.h"
|
||||
#include "backend/d3d12/SamplerD3D12.h"
|
||||
#include "backend/d3d12/ShaderModuleD3D12.h"
|
||||
#include "backend/d3d12/SwapChainD3D12.h"
|
||||
#include "backend/d3d12/TextureD3D12.h"
|
||||
#include "common/Assert.h"
|
||||
#include "common/SwapChainUtils.h"
|
||||
#include "dawn_native/d3d12/BindGroupD3D12.h"
|
||||
#include "dawn_native/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/BlendStateD3D12.h"
|
||||
#include "dawn_native/d3d12/BufferD3D12.h"
|
||||
#include "dawn_native/d3d12/CommandAllocatorManager.h"
|
||||
#include "dawn_native/d3d12/CommandBufferD3D12.h"
|
||||
#include "dawn_native/d3d12/ComputePipelineD3D12.h"
|
||||
#include "dawn_native/d3d12/DepthStencilStateD3D12.h"
|
||||
#include "dawn_native/d3d12/DescriptorHeapAllocator.h"
|
||||
#include "dawn_native/d3d12/InputStateD3D12.h"
|
||||
#include "dawn_native/d3d12/NativeSwapChainImplD3D12.h"
|
||||
#include "dawn_native/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/QueueD3D12.h"
|
||||
#include "dawn_native/d3d12/RenderPassDescriptorD3D12.h"
|
||||
#include "dawn_native/d3d12/RenderPipelineD3D12.h"
|
||||
#include "dawn_native/d3d12/ResourceAllocator.h"
|
||||
#include "dawn_native/d3d12/ResourceUploader.h"
|
||||
#include "dawn_native/d3d12/SamplerD3D12.h"
|
||||
#include "dawn_native/d3d12/ShaderModuleD3D12.h"
|
||||
#include "dawn_native/d3d12/SwapChainD3D12.h"
|
||||
#include "dawn_native/d3d12/TextureD3D12.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -17,10 +17,10 @@
|
||||
|
||||
#include "dawn/dawncpp.h"
|
||||
|
||||
#include "backend/Device.h"
|
||||
#include "backend/d3d12/Forward.h"
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "common/SerialQueue.h"
|
||||
#include "dawn_native/Device.h"
|
||||
#include "dawn_native/d3d12/Forward.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,7 +15,7 @@
|
||||
#ifndef BACKEND_D3D12_FORWARD_H_
|
||||
#define BACKEND_D3D12_FORWARD_H_
|
||||
|
||||
#include "backend/ToBackend.h"
|
||||
#include "dawn_native/ToBackend.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
31
src/dawn_native/d3d12/GeneratedCodeIncludes.h
Normal file
31
src/dawn_native/d3d12/GeneratedCodeIncludes.h
Normal file
@ -0,0 +1,31 @@
|
||||
// Copyright 2017 The Dawn Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "dawn_native/d3d12/BindGroupD3D12.h"
|
||||
#include "dawn_native/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/BlendStateD3D12.h"
|
||||
#include "dawn_native/d3d12/BufferD3D12.h"
|
||||
#include "dawn_native/d3d12/CommandBufferD3D12.h"
|
||||
#include "dawn_native/d3d12/ComputePipelineD3D12.h"
|
||||
#include "dawn_native/d3d12/DepthStencilStateD3D12.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/InputStateD3D12.h"
|
||||
#include "dawn_native/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/QueueD3D12.h"
|
||||
#include "dawn_native/d3d12/RenderPassDescriptorD3D12.h"
|
||||
#include "dawn_native/d3d12/RenderPipelineD3D12.h"
|
||||
#include "dawn_native/d3d12/SamplerD3D12.h"
|
||||
#include "dawn_native/d3d12/ShaderModuleD3D12.h"
|
||||
#include "dawn_native/d3d12/SwapChainD3D12.h"
|
||||
#include "dawn_native/d3d12/TextureD3D12.h"
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/InputStateD3D12.h"
|
||||
#include "dawn_native/d3d12/InputStateD3D12.h"
|
||||
|
||||
#include "common/BitSetIterator.h"
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_D3D12_INPUTSTATED3D12_H_
|
||||
#define BACKEND_D3D12_INPUTSTATED3D12_H_
|
||||
|
||||
#include "backend/InputState.h"
|
||||
#include "dawn_native/InputState.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/NativeSwapChainImplD3D12.h"
|
||||
#include "dawn_native/d3d12/NativeSwapChainImplD3D12.h"
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "backend/d3d12/TextureD3D12.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/TextureD3D12.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,7 +15,7 @@
|
||||
#ifndef BACKEND_D3D12_NATIVESWAPCHAINIMPLD3D12_H_
|
||||
#define BACKEND_D3D12_NATIVESWAPCHAINIMPLD3D12_H_
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
#include "dawn/dawn_wsi.h"
|
||||
#include "dawn/dawncpp.h"
|
@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/PipelineLayoutD3D12.h"
|
||||
|
||||
#include "backend/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "common/Assert.h"
|
||||
#include "common/BitSetIterator.h"
|
||||
#include "dawn_native/d3d12/BindGroupLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
|
||||
using Microsoft::WRL::ComPtr;
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_D3D12_PIPELINELAYOUTD3D12_H_
|
||||
#define BACKEND_D3D12_PIPELINELAYOUTD3D12_H_
|
||||
|
||||
#include "backend/PipelineLayout.h"
|
||||
#include "dawn_native/PipelineLayout.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/QueueD3D12.h"
|
||||
#include "dawn_native/d3d12/QueueD3D12.h"
|
||||
|
||||
#include "backend/d3d12/CommandBufferD3D12.h"
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/CommandBufferD3D12.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_D3D12_QUEUED3D12_H_
|
||||
#define BACKEND_D3D12_QUEUED3D12_H_
|
||||
|
||||
#include "backend/Queue.h"
|
||||
#include "dawn_native/Queue.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/RenderPassDescriptorD3D12.h"
|
||||
#include "dawn_native/d3d12/RenderPassDescriptorD3D12.h"
|
||||
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "backend/d3d12/TextureD3D12.h"
|
||||
#include "common/BitSetIterator.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/TextureD3D12.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
@ -15,11 +15,11 @@
|
||||
#ifndef BACKEND_D3D12_RENDERPASSDESCRIPTORD3D12_H_
|
||||
#define BACKEND_D3D12_RENDERPASSDESCRIPTORD3D12_H_
|
||||
|
||||
#include "backend/RenderPassDescriptor.h"
|
||||
#include "dawn_native/RenderPassDescriptor.h"
|
||||
|
||||
#include "backend/d3d12/DescriptorHeapAllocator.h"
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "common/Constants.h"
|
||||
#include "dawn_native/d3d12/DescriptorHeapAllocator.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
#include <array>
|
||||
#include <vector>
|
@ -12,16 +12,16 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "backend/d3d12/RenderPipelineD3D12.h"
|
||||
#include "dawn_native/d3d12/RenderPipelineD3D12.h"
|
||||
|
||||
#include "backend/d3d12/BlendStateD3D12.h"
|
||||
#include "backend/d3d12/DepthStencilStateD3D12.h"
|
||||
#include "backend/d3d12/DeviceD3D12.h"
|
||||
#include "backend/d3d12/InputStateD3D12.h"
|
||||
#include "backend/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "backend/d3d12/ShaderModuleD3D12.h"
|
||||
#include "backend/d3d12/TextureD3D12.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn_native/d3d12/BlendStateD3D12.h"
|
||||
#include "dawn_native/d3d12/DepthStencilStateD3D12.h"
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/InputStateD3D12.h"
|
||||
#include "dawn_native/d3d12/PipelineLayoutD3D12.h"
|
||||
#include "dawn_native/d3d12/ShaderModuleD3D12.h"
|
||||
#include "dawn_native/d3d12/TextureD3D12.h"
|
||||
|
||||
#include <d3dcompiler.h>
|
||||
|
@ -15,9 +15,9 @@
|
||||
#ifndef BACKEND_D3D12_RENDERPIPELINED3D12_H_
|
||||
#define BACKEND_D3D12_RENDERPIPELINED3D12_H_
|
||||
|
||||
#include "backend/RenderPipeline.h"
|
||||
#include "dawn_native/RenderPipeline.h"
|
||||
|
||||
#include "backend/d3d12/d3d12_platform.h"
|
||||
#include "dawn_native/d3d12/d3d12_platform.h"
|
||||
|
||||
namespace backend { namespace d3d12 {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user