diff options
| author | 2023-01-26 23:24:19 -0500 | |
|---|---|---|
| committer | 2023-01-27 02:09:18 -0500 | |
| commit | 0f795603fc04d873dfde99c795f3c1600ff2032c (patch) | |
| tree | b154ecea786abf83d7deed55b549cfd6f0998a75 /src/shader_recompiler/backend/glasm/emit_glasm.cpp | |
| parent | glsl: Add MS sampler types (diff) | |
| download | yuzu-0f795603fc04d873dfde99c795f3c1600ff2032c.tar.gz yuzu-0f795603fc04d873dfde99c795f3c1600ff2032c.tar.xz yuzu-0f795603fc04d873dfde99c795f3c1600ff2032c.zip | |
glasm: Add MS sampler types
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cpp index 0cb1e193e..fd4a61a4d 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp | |||
| @@ -279,6 +279,8 @@ void SetupOptions(const IR::Program& program, const Profile& profile, | |||
| 279 | header += "OPTION NV_internal;" | 279 | header += "OPTION NV_internal;" |
| 280 | "OPTION NV_shader_storage_buffer;" | 280 | "OPTION NV_shader_storage_buffer;" |
| 281 | "OPTION NV_gpu_program_fp64;"; | 281 | "OPTION NV_gpu_program_fp64;"; |
| 282 | // TODO: Enable only when MS is used | ||
| 283 | header += "OPTION NV_texture_multisample;"; | ||
| 282 | if (info.uses_int64_bit_atomics) { | 284 | if (info.uses_int64_bit_atomics) { |
| 283 | header += "OPTION NV_shader_atomic_int64;"; | 285 | header += "OPTION NV_shader_atomic_int64;"; |
| 284 | } | 286 | } |