mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
metal: use EXT_vulkan_glsl_relaxed
This commit is contained in:
@@ -250,7 +250,7 @@ Shader::Shader(id<MTLDevice> device, love::graphics::ShaderStage *vertex, love::
|
||||
continue;
|
||||
}
|
||||
|
||||
if (resource.name == "love_UniformsPerDrawBuffer")
|
||||
if (resource.name == "gl_DefaultUniformBlock")
|
||||
{
|
||||
msl.set_decoration(resource.id, spv::DecorationBinding, 0);
|
||||
const SPIRType &type = msl.get_type(resource.base_type_id);
|
||||
|
||||
Reference in New Issue
Block a user