diff options
| author | 2021-04-23 17:47:54 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:30 -0400 | |
| commit | 7ecc6de56ae01602b25408db8b6658d7a41a419a (patch) | |
| tree | 2bff17b5b55e9f37ac5e4031c77962216813d5d5 /src/shader_recompiler/backend/spirv/emit_spirv.cpp | |
| parent | shader: Initial OpenGL implementation (diff) | |
| download | yuzu-7ecc6de56ae01602b25408db8b6658d7a41a419a.tar.gz yuzu-7ecc6de56ae01602b25408db8b6658d7a41a419a.tar.xz yuzu-7ecc6de56ae01602b25408db8b6658d7a41a419a.zip | |
shader: Implement Int32 SUATOM/SURED
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.cpp b/src/shader_recompiler/backend/spirv/emit_spirv.cpp index 745a834e3..3f9adc902 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv.cpp | |||
| @@ -335,6 +335,9 @@ void SetupCapabilities(const Profile& profile, const Info& info, EmitContext& ct | |||
| 335 | if (info.uses_typeless_image_writes) { | 335 | if (info.uses_typeless_image_writes) { |
| 336 | ctx.AddCapability(spv::Capability::StorageImageWriteWithoutFormat); | 336 | ctx.AddCapability(spv::Capability::StorageImageWriteWithoutFormat); |
| 337 | } | 337 | } |
| 338 | if (info.uses_image_buffers) { | ||
| 339 | ctx.AddCapability(spv::Capability::ImageBuffer); | ||
| 340 | } | ||
| 338 | if (info.uses_sample_id) { | 341 | if (info.uses_sample_id) { |
| 339 | ctx.AddCapability(spv::Capability::SampleRateShading); | 342 | ctx.AddCapability(spv::Capability::SampleRateShading); |
| 340 | } | 343 | } |