mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2026-02-16 18:56:50 -05:00
Fix Geometry/TFB on compute, Buffer Textures, add Window Resizing (#28)
This commit is contained in:
@@ -65,7 +65,7 @@ namespace Ryujinx.Graphics.Metal
|
||||
_programStrideChange = new Program(
|
||||
[
|
||||
new ShaderSource(strideChangeSource, ShaderStage.Compute, TargetLanguage.Msl)
|
||||
], device);
|
||||
], device, new ComputeSize(64, 1, 1));
|
||||
}
|
||||
|
||||
private static string ReadMsl(string fileName)
|
||||
@@ -260,7 +260,7 @@ namespace Ryujinx.Graphics.Metal
|
||||
_pipeline.SetStorageBuffers(1, sbRanges);
|
||||
|
||||
_pipeline.SetProgram(_programStrideChange);
|
||||
_pipeline.DispatchCompute(1 + elems / ConvertElementsPerWorkgroup, 1, 1, 64, 1, 1);
|
||||
_pipeline.DispatchCompute(1 + elems / ConvertElementsPerWorkgroup, 1, 1);
|
||||
|
||||
// Restore previous state
|
||||
_pipeline.SwapState(null);
|
||||
|
||||
Reference in New Issue
Block a user