|
Bicameral Engine
GPU-resident engine for a magic-research open-world game
|
Functions | |
| template<typename T> | |
| ComPtr< ID3D12Resource > | CreateUploadBuffer (ID3D12Device *device, std::span< const T > data) |
| uint32_t | GroupsFor (uint32_t threadCount) |
Variables | |
| constexpr uint32_t | THREADS_PER_GROUP = 64 |
| constexpr uint32_t | ROOT_CONSTANT_COUNT = 14 |
| constexpr uint32_t | STATS_BYTES = sizeof(GpuPhysicsStats) |
| constexpr gpu::RootSignatureLayout | ROOT_LAYOUT |
| constexpr uint32_t | COLOR_PREDICATE_UAV = 13 |
| constexpr std::array< const char *, 13 > | SHADER_NAMES |
| constexpr std::array< const char *, 15 > | PASS_NAMES |
| constexpr auto | COLOR_COUNT = (uint64_t)PX_GPU_MAX_COLORS |
| constexpr uint32_t | BROADPHASE_THREADS = 16 |
| constexpr uint32_t | BROADPHASE_MAX_GROUPS = 1024 |
| constexpr uint32_t | MAX_TIMESTAMPS = 1u << 16 |
| constexpr uint64_t | MANIFOLD_HEADER_BYTES = 80 |
| ComPtr< ID3D12Resource > bicameral::sim::anonymous_namespace{gpu_physics.cpp}::CreateUploadBuffer | ( | ID3D12Device * | device, |
| std::span< const T > | data ) |
Definition at line 55 of file gpu_physics.cpp.
References bicameral::gpu::CreateBuffer(), CreateUploadBuffer(), and bicameral::gpu::Upload.
Referenced by CreateUploadBuffer().
| uint32_t bicameral::sim::anonymous_namespace{gpu_physics.cpp}::GroupsFor | ( | uint32_t | threadCount | ) |
Definition at line 69 of file gpu_physics.cpp.
References GroupsFor(), and THREADS_PER_GROUP.
Referenced by GroupsFor().
|
constexpr |
Definition at line 46 of file gpu_physics.cpp.
|
constexpr |
Definition at line 45 of file gpu_physics.cpp.
|
constexpr |
Definition at line 39 of file gpu_physics.cpp.
|
constexpr |
Definition at line 23 of file gpu_physics.cpp.
|
constexpr |
Definition at line 52 of file gpu_physics.cpp.
|
constexpr |
Definition at line 49 of file gpu_physics.cpp.
|
constexpr |
Definition at line 34 of file gpu_physics.cpp.
|
constexpr |
Definition at line 16 of file gpu_physics.cpp.
|
constexpr |
Definition at line 20 of file gpu_physics.cpp.
|
constexpr |
Definition at line 26 of file gpu_physics.cpp.
|
constexpr |
Definition at line 17 of file gpu_physics.cpp.
|
constexpr |
Definition at line 15 of file gpu_physics.cpp.
Referenced by GroupsFor().