removed GPUDevice::device_render_pass
This commit is contained in:
@@ -38,7 +38,6 @@ class GPUDevice
|
||||
private:
|
||||
|
||||
DeviceRenderPassManage *render_pass_manage;
|
||||
RenderPass *device_render_pass;
|
||||
|
||||
RTSwapchain *sc_rt;
|
||||
|
||||
@@ -79,7 +78,7 @@ public:
|
||||
const VkColorSpaceKHR GetColorSpace ()const {return attr->surface_format.colorSpace;}
|
||||
VkQueue GetGraphicsQueue () {return attr->graphics_queue;}
|
||||
|
||||
RenderPass * GetRenderPass () {return device_render_pass;}
|
||||
RenderPass * GetRenderPass () {return sc_rt->GetRenderPass();}
|
||||
|
||||
RTSwapchain * GetSwapchainRT () {return sc_rt;}
|
||||
|
||||
|
@@ -36,6 +36,8 @@ public:
|
||||
VkSurfaceFormatKHR surface_format;
|
||||
VkFormat depth_format;
|
||||
|
||||
RenderPass * render_pass =nullptr;
|
||||
|
||||
uint32_t image_count =0;
|
||||
|
||||
SwapchainImage * sc_image =nullptr;
|
||||
|
Reference in New Issue
Block a user