diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-19 02:25:03 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-30 06:31:37 +0100 |
commit | 335df895b9f9e9760ed5cd0d6dfaea8befb94dac (patch) | |
tree | 6cd8e76d529d5b4af5f87ef63f617941ced77f3e /src/video_core/shader/shader_interpreter.cpp | |
parent | VideoCore: Use correct register for immediate mode attribute count (diff) | |
download | yuzu-335df895b9f9e9760ed5cd0d6dfaea8befb94dac.tar yuzu-335df895b9f9e9760ed5cd0d6dfaea8befb94dac.tar.gz yuzu-335df895b9f9e9760ed5cd0d6dfaea8befb94dac.tar.bz2 yuzu-335df895b9f9e9760ed5cd0d6dfaea8befb94dac.tar.lz yuzu-335df895b9f9e9760ed5cd0d6dfaea8befb94dac.tar.xz yuzu-335df895b9f9e9760ed5cd0d6dfaea8befb94dac.tar.zst yuzu-335df895b9f9e9760ed5cd0d6dfaea8befb94dac.zip |
Diffstat (limited to 'src/video_core/shader/shader_interpreter.cpp')
-rw-r--r-- | src/video_core/shader/shader_interpreter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_interpreter.cpp b/src/video_core/shader/shader_interpreter.cpp index d803aebbf..81522b8f5 100644 --- a/src/video_core/shader/shader_interpreter.cpp +++ b/src/video_core/shader/shader_interpreter.cpp @@ -669,13 +669,13 @@ void InterpreterEngine::Run(const ShaderSetup& setup, UnitState& state) const { DebugData<true> InterpreterEngine::ProduceDebugInfo(const ShaderSetup& setup, const AttributeBuffer& input, - int num_attributes) const { + const Regs::ShaderConfig& config) const { UnitState state; DebugData<true> debug_data; // Setup input register table boost::fill(state.registers.input, Math::Vec4<float24>::AssignToAll(float24::Zero())); - state.LoadInput(input, num_attributes); + state.LoadInput(config, input); RunInterpreter(setup, state, debug_data, setup.engine_data.entry_point); return debug_data; } |