mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
metal: improve shader resource binding code.
This commit is contained in:
@@ -1063,7 +1063,7 @@ bool Graphics::applyShaderUniforms(id<MTLComputeCommandEncoder> encoder, love::g
|
||||
if ((b.access & Shader::ACCESS_WRITE) != 0 && texture == nil)
|
||||
allWritableVariablesSet = false;
|
||||
}
|
||||
|
||||
|
||||
if (sampindex != LOVE_UINT8_MAX)
|
||||
setSampler(encoder, bindings, sampindex, samplertex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user