mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 11:25:42 -04:00
GPU/ShaderGen: Add readonly/restrict qualifier to VRAM write SSBO
This commit is contained in:
parent
adae4e1e5b
commit
0cbba59e88
@ -1211,7 +1211,7 @@ std::string GPU_HW_ShaderGen::GenerateVRAMWriteFragmentShader(bool use_ssbo)
|
||||
else if (m_use_glsl_binding_layout)
|
||||
ss << ", binding = 0";
|
||||
|
||||
ss << ") buffer SSBO {\n";
|
||||
ss << ") readonly restrict buffer SSBO {\n";
|
||||
ss << " uint ssbo_data[];\n";
|
||||
ss << "};\n\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user