summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_ir.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-06-25 13:57:32 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-07-09 14:14:37 +0200
commit459fce3a8f26241ff2a68c323e75fb70e7e1ba79 (patch)
tree4b653d7dd8fd7e6d325ca69cdd1384187cbd73ac /src/video_core/shader/shader_ir.h
parentshader_ir: Implement BRX & BRA.CC (diff)
downloadyuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar
yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.gz
yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.bz2
yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.lz
yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.xz
yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.zst
yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/shader_ir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h
index e71462e02..a67d4f390 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -65,7 +65,7 @@ struct GlobalMemoryUsage {
class ShaderIR final {
public:
- explicit ShaderIR(const ProgramCode& program_code, u32 main_offset);
+ explicit ShaderIR(const ProgramCode& program_code, u32 main_offset, std::size_t size);
~ShaderIR();
const std::map<u32, NodeBlock>& GetBasicBlocks() const {
@@ -316,6 +316,7 @@ private:
const ProgramCode& program_code;
const u32 main_offset;
+ const std::size_t program_size;
u32 coverage_begin{};
u32 coverage_end{};