diff options
| author | 2023-06-27 11:21:10 -0400 | |
|---|---|---|
| committer | 2023-06-27 11:21:10 -0400 | |
| commit | dafbc86366f8bcd9153949db4d141ec489928f81 (patch) | |
| tree | 8496cb635eef6967a99d0b7dfad41419a24b5efd /src/shader_recompiler/ir_opt | |
| parent | Merge pull request #10925 from t895/fs-agony (diff) | |
| parent | OpenGL: Limit lmem warmup to NVIDIA (diff) | |
| download | yuzu-dafbc86366f8bcd9153949db4d141ec489928f81.tar.gz yuzu-dafbc86366f8bcd9153949db4d141ec489928f81.tar.xz yuzu-dafbc86366f8bcd9153949db4d141ec489928f81.zip | |
Merge pull request #10916 from ameerj/lolmem
OpenGL: Add Local Memory warmup shader for Nvidia
Diffstat (limited to 'src/shader_recompiler/ir_opt')
| -rw-r--r-- | src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp index 5a4195217..70292686f 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | |||
| @@ -424,6 +424,10 @@ void VisitUsages(Info& info, IR::Inst& inst) { | |||
| 424 | info.used_constant_buffer_types |= IR::Type::U32 | IR::Type::U32x2; | 424 | info.used_constant_buffer_types |= IR::Type::U32 | IR::Type::U32x2; |
| 425 | info.used_storage_buffer_types |= IR::Type::U32 | IR::Type::U32x2 | IR::Type::U32x4; | 425 | info.used_storage_buffer_types |= IR::Type::U32 | IR::Type::U32x2 | IR::Type::U32x4; |
| 426 | break; | 426 | break; |
| 427 | case IR::Opcode::LoadLocal: | ||
| 428 | case IR::Opcode::WriteLocal: | ||
| 429 | info.uses_local_memory = true; | ||
| 430 | break; | ||
| 427 | default: | 431 | default: |
| 428 | break; | 432 | break; |
| 429 | } | 433 | } |