mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 20:22:30 +01:00
rsx: Fix linux build
This commit is contained in:
parent
ed2bdb8e0c
commit
e1b734fd12
@ -1110,7 +1110,7 @@ void GLGSRender::clear_surface(u32 arg)
|
||||
if (arg & 0xF0) ctx |= rsx::framebuffer_creation_context::context_clear_color;
|
||||
if (arg & 0x3) ctx |= rsx::framebuffer_creation_context::context_clear_depth;
|
||||
|
||||
init_buffers((rsx::framebuffer_creation_context)ctx, true);
|
||||
init_buffers(static_cast<rsx::framebuffer_creation_context>(ctx), true);
|
||||
|
||||
if (!framebuffer_status_valid) return;
|
||||
|
||||
|
@ -132,7 +132,7 @@ namespace gl
|
||||
glBindVertexArray(old_vao);
|
||||
}
|
||||
|
||||
virtual void run(const areau& region, GLuint target_texture, bool depth_target, bool use_blending = false)
|
||||
void run(const areau& region, GLuint target_texture, bool depth_target, bool use_blending = false)
|
||||
{
|
||||
if (!compiled)
|
||||
{
|
||||
|
@ -199,13 +199,13 @@ namespace vk
|
||||
vkCmdBindDescriptorSets(cmd, VK_PIPELINE_BIND_POINT_COMPUTE, m_pipeline_layout, 0, 1, &m_descriptor_set, 0, nullptr);
|
||||
}
|
||||
|
||||
virtual void run(VkCommandBuffer cmd, u32 invocations_x, u32 invocations_y, u32 invocations_z)
|
||||
void run(VkCommandBuffer cmd, u32 invocations_x, u32 invocations_y, u32 invocations_z)
|
||||
{
|
||||
load_program(cmd);
|
||||
vkCmdDispatch(cmd, invocations_x, invocations_y, invocations_z);
|
||||
}
|
||||
|
||||
virtual void run(VkCommandBuffer cmd, u32 num_invocations)
|
||||
void run(VkCommandBuffer cmd, u32 num_invocations)
|
||||
{
|
||||
u32 invocations_x, invocations_y;
|
||||
if (num_invocations > max_invocations_x)
|
||||
|
@ -906,13 +906,13 @@ private:
|
||||
// Import optional function endpoints
|
||||
if (pgpu->conditional_render_support)
|
||||
{
|
||||
cmdBeginConditionalRenderingEXT = (PFN_vkCmdBeginConditionalRenderingEXT)vkGetDeviceProcAddr(dev, "vkCmdBeginConditionalRenderingEXT");
|
||||
cmdEndConditionalRenderingEXT = (PFN_vkCmdEndConditionalRenderingEXT)vkGetDeviceProcAddr(dev, "vkCmdEndConditionalRenderingEXT");
|
||||
cmdBeginConditionalRenderingEXT = reinterpret_cast<PFN_vkCmdBeginConditionalRenderingEXT>(vkGetDeviceProcAddr(dev, "vkCmdBeginConditionalRenderingEXT"));
|
||||
cmdEndConditionalRenderingEXT = reinterpret_cast<PFN_vkCmdEndConditionalRenderingEXT>(vkGetDeviceProcAddr(dev, "vkCmdEndConditionalRenderingEXT"));
|
||||
}
|
||||
|
||||
if (pgpu->host_query_reset_support)
|
||||
{
|
||||
resetQueryPoolEXT = (PFN_vkResetQueryPoolEXT)vkGetDeviceProcAddr(dev, "vkResetQueryPoolEXT");
|
||||
resetQueryPoolEXT = reinterpret_cast<PFN_vkResetQueryPoolEXT>(vkGetDeviceProcAddr(dev, "vkResetQueryPoolEXT"));
|
||||
}
|
||||
|
||||
memory_map = vk::get_memory_mapping(pdev);
|
||||
|
Loading…
Reference in New Issue
Block a user