Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
gpu_physics.cpp File Reference
#include "sim/gpu_physics.h"
#include "gpu/resources.h"
Include dependency graph for gpu_physics.cpp:

Go to the source code of this file.

Namespaces

namespace  bicameral
namespace  bicameral::sim
namespace  bicameral::sim::anonymous_namespace{gpu_physics.cpp}

Functions

template<typename T>
ComPtr< ID3D12Resource > bicameral::sim::anonymous_namespace{gpu_physics.cpp}::CreateUploadBuffer (ID3D12Device *device, std::span< const T > data)
uint32_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::GroupsFor (uint32_t threadCount)

Variables

constexpr uint32_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::THREADS_PER_GROUP = 64
constexpr uint32_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::ROOT_CONSTANT_COUNT = 14
constexpr uint32_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::STATS_BYTES = sizeof(GpuPhysicsStats)
constexpr gpu::RootSignatureLayout bicameral::sim::anonymous_namespace{gpu_physics.cpp}::ROOT_LAYOUT
constexpr uint32_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::COLOR_PREDICATE_UAV = 13
constexpr std::array< const char *, 13 > bicameral::sim::anonymous_namespace{gpu_physics.cpp}::SHADER_NAMES
constexpr std::array< const char *, 15 > bicameral::sim::anonymous_namespace{gpu_physics.cpp}::PASS_NAMES
constexpr auto bicameral::sim::anonymous_namespace{gpu_physics.cpp}::COLOR_COUNT = (uint64_t)PX_GPU_MAX_COLORS
constexpr uint32_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::BROADPHASE_THREADS = 16
constexpr uint32_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::BROADPHASE_MAX_GROUPS = 1024
constexpr uint32_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::MAX_TIMESTAMPS = 1u << 16
constexpr uint64_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::MANIFOLD_HEADER_BYTES = 80