This commit is contained in:
luboslenco
2025-10-15 13:06:40 +02:00
parent eac14b95a2
commit 62f726dd74
96 changed files with 9063 additions and 9176 deletions
+13 -13
View File
@@ -9,7 +9,7 @@ struct ID3D12PipelineState;
struct ID3D12StateObject;
enum D3D12_RESOURCE_STATES;
typedef void *HANDLE;
typedef void *HANDLE;
typedef unsigned __int64 UINT64;
struct D3D12Viewport {
@@ -29,15 +29,15 @@ struct D3D12Rect {
};
struct D3D12VertexBufferView {
__int64 BufferLocation;
__int64 BufferLocation;
unsigned int SizeInBytes;
unsigned int StrideInBytes;
};
struct D3D12IndexBufferView {
__int64 BufferLocation;
__int64 BufferLocation;
unsigned int SizeInBytes;
int Format;
int Format;
};
typedef struct {
@@ -46,28 +46,28 @@ typedef struct {
typedef struct {
uint8_t *data;
int length;
int length;
} gpu_shader_impl_t;
typedef struct {
struct ID3D12Resource *image;
struct ID3D12Resource *image;
struct ID3D12DescriptorHeap *srv_descriptor_heap;
struct ID3D12DescriptorHeap *rtv_descriptor_heap;
} gpu_texture_impl_t;
typedef struct {
struct ID3D12Resource *buffer;
struct ID3D12Resource *buffer;
struct D3D12VertexBufferView vertex_buffer_view;
struct D3D12IndexBufferView index_buffer_view;
int last_start;
int last_count;
struct D3D12IndexBufferView index_buffer_view;
int last_start;
int last_count;
} gpu_buffer_impl_t;
typedef struct {
struct ID3D12StateObject *state;
struct ID3D12Resource *raygen_shader_table;
struct ID3D12Resource *miss_shader_table;
struct ID3D12Resource *hitgroup_shader_table;
struct ID3D12Resource *raygen_shader_table;
struct ID3D12Resource *miss_shader_table;
struct ID3D12Resource *hitgroup_shader_table;
} gpu_raytrace_pipeline_impl_t;
typedef struct {