From eb52ac55a7f4f7aa77a2e2843573572a603c96d1 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Tue, 31 May 2022 23:04:04 +0300 Subject: [PATCH] gl: Fix AMD buffer decode --- rpcs3/Emu/RSX/Program/GLSLSnippets/CopyBufferToD24x8.glsl | 2 +- rpcs3/emucore.vcxproj | 2 ++ rpcs3/emucore.vcxproj.filters | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Program/GLSLSnippets/CopyBufferToD24x8.glsl b/rpcs3/Emu/RSX/Program/GLSLSnippets/CopyBufferToD24x8.glsl index bc9d88305b..9ff841fb90 100644 --- a/rpcs3/Emu/RSX/Program/GLSLSnippets/CopyBufferToD24x8.glsl +++ b/rpcs3/Emu/RSX/Program/GLSLSnippets/CopyBufferToD24x8.glsl @@ -2,7 +2,7 @@ R"( #version 430 #extension GL_ARB_shader_stencil_export : enable -layout(%set, binding=%loc) readonly restrict buffer RawDataBlock +layout(%set, binding=%loc, std430) readonly restrict buffer RawDataBlock { uint data[]; }; diff --git a/rpcs3/emucore.vcxproj b/rpcs3/emucore.vcxproj index ac726638a1..bacfa3d541 100644 --- a/rpcs3/emucore.vcxproj +++ b/rpcs3/emucore.vcxproj @@ -816,6 +816,8 @@ + + diff --git a/rpcs3/emucore.vcxproj.filters b/rpcs3/emucore.vcxproj.filters index b324273da1..3e2ec06d59 100644 --- a/rpcs3/emucore.vcxproj.filters +++ b/rpcs3/emucore.vcxproj.filters @@ -2145,5 +2145,11 @@ Emu\GPU\RSX\Program\Snippets + + Emu\GPU\RSX\Program\Snippets + + + Emu\GPU\RSX\Program\Snippets + \ No newline at end of file