diff options
| author | 2016-03-03 10:51:15 -0500 | |
|---|---|---|
| committer | 2016-03-03 10:51:15 -0500 | |
| commit | c9009d39d4e023ea9f45565fe241cc63bc765803 (patch) | |
| tree | 24151beb25a6a53a9f2646f93dedbe834e7f04f5 /src/video_core/shader/shader.cpp | |
| parent | Merge pull request #1403 from MerryMage/sdl (diff) | |
| parent | Add immediate mode vertex submission (diff) | |
| download | yuzu-c9009d39d4e023ea9f45565fe241cc63bc765803.tar.gz yuzu-c9009d39d4e023ea9f45565fe241cc63bc765803.tar.xz yuzu-c9009d39d4e023ea9f45565fe241cc63bc765803.zip | |
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 @@ | |||
| 14 | 14 | ||
| 15 | #include "video_core/debug_utils/debug_utils.h" | 15 | #include "video_core/debug_utils/debug_utils.h" |
| 16 | #include "video_core/pica.h" | 16 | #include "video_core/pica.h" |
| 17 | #include "video_core/pica_state.h" | ||
| 17 | #include "video_core/video_core.h" | 18 | #include "video_core/video_core.h" |
| 18 | 19 | ||
| 19 | #include "shader.h" | 20 | #include "shader.h" |
| @@ -145,7 +146,7 @@ OutputVertex Run(UnitState<false>& state, const InputVertex& input, int num_attr | |||
| 145 | return ret; | 146 | return ret; |
| 146 | } | 147 | } |
| 147 | 148 | ||
| 148 | DebugData<true> ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const State::ShaderSetup& setup) { | 149 | DebugData<true> ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const ShaderSetup& setup) { |
| 149 | UnitState<true> state; | 150 | UnitState<true> state; |
| 150 | 151 | ||
| 151 | state.program_counter = config.main_offset; | 152 | state.program_counter = config.main_offset; |