diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-30 04:28:28 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-03 02:46:25 +0200 |
commit | 002ecbea190de16294d32449c3d2b61e57490dae (patch) | |
tree | 323a1f1641e4a9f46c412286750c65470c1de0db /src/video_core/shader/shader_ir.h | |
parent | shader_bytecode: Add AL2P decoding (diff) | |
download | yuzu-002ecbea190de16294d32449c3d2b61e57490dae.tar yuzu-002ecbea190de16294d32449c3d2b61e57490dae.tar.gz yuzu-002ecbea190de16294d32449c3d2b61e57490dae.tar.bz2 yuzu-002ecbea190de16294d32449c3d2b61e57490dae.tar.lz yuzu-002ecbea190de16294d32449c3d2b61e57490dae.tar.xz yuzu-002ecbea190de16294d32449c3d2b61e57490dae.tar.zst yuzu-002ecbea190de16294d32449c3d2b61e57490dae.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 65f1e1de9..b157608b7 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -615,6 +615,10 @@ public: return static_cast<std::size_t>(coverage_end * sizeof(u64)); } + bool HasPhysicalAttributes() const { + return use_physical_attributes; + } + const Tegra::Shader::Header& GetHeader() const { return header; } @@ -879,6 +883,7 @@ private: std::set<Sampler> used_samplers; std::array<bool, Tegra::Engines::Maxwell3D::Regs::NumClipDistances> used_clip_distances{}; std::map<GlobalMemoryBase, GlobalMemoryUsage> used_global_memory; + bool use_physical_attributes = true; // Shader uses AL2P Tegra::Shader::Header header; }; |