diff options
| author | bunnei <bunneidev@gmail.com> | 2016-03-03 10:51:15 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2016-03-03 10:51:15 -0500 |
| commit | c9009d39d4e023ea9f45565fe241cc63bc765803 (patch) | |
| tree | 24151beb25a6a53a9f2646f93dedbe834e7f04f5 /src/video_core/shader/shader.cpp | |
| parent | 699b2a6571849bddda4fee3eb31f2f7b7e83a882 (diff) | |
| parent | 6b775034dd8343c06369b64bf073d6a70f35f510 (diff) | |
Merge pull request #1394 from ds84182/immediate-mode-vtx
Add immediate mode vertex submission
Diffstat (limited to 'src/video_core/shader/shader.cpp')
| -rw-r--r-- | src/video_core/shader/shader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp index 44c234ed8..5e8930476 100644 --- a/src/video_core/shader/shader.cpp +++ b/src/video_core/shader/shader.cpp @@ -14,6 +14,7 @@ #include "video_core/debug_utils/debug_utils.h" #include "video_core/pica.h" +#include "video_core/pica_state.h" #include "video_core/video_core.h" #include "shader.h" @@ -145,7 +146,7 @@ OutputVertex Run(UnitState<false>& state, const InputVertex& input, int num_attr return ret; } -DebugData<true> ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const State::ShaderSetup& setup) { +DebugData<true> ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const ShaderSetup& setup) { UnitState<true> state; state.program_counter = config.main_offset; |
