GPU/ShaderGen: Add readonly/restrict qualifier to VRAM write SSBO

This commit is contained in:
Connor McLaughlin 2021-03-04 02:13:01 +10:00
parent adae4e1e5b
commit 0cbba59e88
1 changed files with 1 additions and 1 deletions

View File

@ -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";