mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-02-04 02:51:18 +01:00
Fix build 4.0
This commit is contained in:
@@ -272,6 +272,13 @@ void BufferCacheRuntime::BindVertexBuffers(VideoCommon::HostBindings<Buffer>& bi
|
||||
}
|
||||
}
|
||||
|
||||
void BufferCacheRuntime::BindVertexBuffers(VideoCommon::HostBindings<Buffer>& bindings,
|
||||
bool use_dynamic_vertex_input,
|
||||
VideoCommon::vk::CommandBuffer* /*cmd*/) {
|
||||
// Forward to the existing implementation; OpenGL doesn't use Vulkan command buffers.
|
||||
BindVertexBuffers(bindings, use_dynamic_vertex_input);
|
||||
}
|
||||
|
||||
void BufferCacheRuntime::BindUniformBuffer(size_t stage, u32 binding_index, Buffer& buffer,
|
||||
u32 offset, u32 size) {
|
||||
if (use_assembly_shaders) {
|
||||
|
||||
@@ -104,6 +104,11 @@ public:
|
||||
void BindVertexBuffers(VideoCommon::HostBindings<Buffer>& bindings,
|
||||
bool use_dynamic_vertex_input = false);
|
||||
|
||||
// Compatibility overload to allow code that provides an optional Vulkan command buffer
|
||||
// pointer to compile for OpenGL. The pointer is ignored for OpenGL runtime.
|
||||
void BindVertexBuffers(VideoCommon::HostBindings<Buffer>& bindings,
|
||||
bool use_dynamic_vertex_input, VideoCommon::vk::CommandBuffer* cmd);
|
||||
|
||||
void BindUniformBuffer(size_t stage, u32 binding_index, Buffer& buffer, u32 offset, u32 size);
|
||||
|
||||
void BindComputeUniformBuffer(u32 binding_index, Buffer& buffer, u32 offset, u32 size);
|
||||
|
||||
Reference in New Issue
Block a user