diff options
| author | 2022-12-27 21:39:46 -0500 | |
|---|---|---|
| committer | 2023-01-03 16:29:25 -0500 | |
| commit | a045e860dd63a46c1f44d343007d772e6da6b037 (patch) | |
| tree | 7c910d74f74aa48858a1d4012d543946516cc554 /src/shader_recompiler/environment.h | |
| parent | Vulkan: rework stencil tracking. (diff) | |
| download | yuzu-a045e860dd63a46c1f44d343007d772e6da6b037.tar.gz yuzu-a045e860dd63a46c1f44d343007d772e6da6b037.tar.xz yuzu-a045e860dd63a46c1f44d343007d772e6da6b037.zip | |
ShaderCompiler: Inline driver specific constants.
Diffstat (limited to 'src/shader_recompiler/environment.h')
| -rw-r--r-- | src/shader_recompiler/environment.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h index 8fc359126..26e8307c1 100644 --- a/src/shader_recompiler/environment.h +++ b/src/shader_recompiler/environment.h | |||
| @@ -57,11 +57,16 @@ public: | |||
| 57 | return start_address; | 57 | return start_address; |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | [[nodiscard]] bool IsPropietaryDriver() const noexcept { | ||
| 61 | return is_propietary_driver; | ||
| 62 | } | ||
| 63 | |||
| 60 | protected: | 64 | protected: |
| 61 | ProgramHeader sph{}; | 65 | ProgramHeader sph{}; |
| 62 | std::array<u32, 8> gp_passthrough_mask{}; | 66 | std::array<u32, 8> gp_passthrough_mask{}; |
| 63 | Stage stage{}; | 67 | Stage stage{}; |
| 64 | u32 start_address{}; | 68 | u32 start_address{}; |
| 69 | bool is_propietary_driver{}; | ||
| 65 | }; | 70 | }; |
| 66 | 71 | ||
| 67 | } // namespace Shader | 72 | } // namespace Shader |