blob: 8e3a513902f4d4596136549d3cc82f785335b533 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include <d3d11.h>
#include <d3dcompiler.h>
#include "ral.h"
#define GPU_SWAPCHAIN_IMG_COUNT 2
// typedef struct gpu_swapchain gpu_swapchain;
typedef struct gpu_device {
// VkPhysicalDevice physical_device;
// VkDevice logical_device;
// VkPhysicalDeviceProperties properties;
// VkPhysicalDeviceFeatures features;
// VkPhysicalDeviceMemoryProperties memory;
// VkCommandPool pool;
} gpu_device;
typedef struct gpu_pipeline {
} gpu_pipeline;
typedef struct gpu_renderpass {
// VkRenderPass vk_handle;
// VkFramebuffer framebuffers[GPU_SWAPCHAIN_IMG_COUNT];
// u32
} gpu_renderpass;
typedef struct gpu_cmd_encoder {
// VkCommandBuffer cmd_buffer;
} gpu_cmd_encoder;
|