Finally fix (most) image atomics
This commit is contained in:
parent
8fa8f3a390
commit
068a83bdfb
2 changed files with 41 additions and 8 deletions
|
@ -46,7 +46,11 @@ namespace Ryujinx.Graphics.Metal
|
|||
{
|
||||
ShaderSource shader = _shaders[i];
|
||||
|
||||
var compileOptions = new MTLCompileOptions { PreserveInvariance = true };
|
||||
var compileOptions = new MTLCompileOptions
|
||||
{
|
||||
PreserveInvariance = true,
|
||||
LanguageVersion = MTLLanguageVersion.Version31,
|
||||
};
|
||||
var index = i;
|
||||
|
||||
_handles[i] = device.NewLibrary(StringHelper.NSString(shader.Code), compileOptions, (library, error) => CompilationResultHandler(library, error, index));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue