diff options
| author | 2015-04-11 13:53:35 -0500 | |
|---|---|---|
| committer | 2015-05-06 18:11:46 -0500 | |
| commit | 0e5ca080a86a6e393eab1a11075561a62a2e01f9 (patch) | |
| tree | cf37d6291c720f06311a5403acb37d5b6a82d18e /src/video_core/vertex_shader.h | |
| parent | Merge pull request #683 from bunnei/thread-priority (diff) | |
| download | yuzu-0e5ca080a86a6e393eab1a11075561a62a2e01f9.tar.gz yuzu-0e5ca080a86a6e393eab1a11075561a62a2e01f9.tar.xz yuzu-0e5ca080a86a6e393eab1a11075561a62a2e01f9.zip | |
GPU: Implemented default vertex shader attributes.
Fixes some games crashing.
Diffstat (limited to 'src/video_core/vertex_shader.h')
| -rw-r--r-- | src/video_core/vertex_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/vertex_shader.h b/src/video_core/vertex_shader.h index 3a68a3409..c26709bbc 100644 --- a/src/video_core/vertex_shader.h +++ b/src/video_core/vertex_shader.h | |||
| @@ -74,6 +74,7 @@ OutputVertex RunShader(const InputVertex& input, int num_attributes); | |||
| 74 | Math::Vec4<float24>& GetFloatUniform(u32 index); | 74 | Math::Vec4<float24>& GetFloatUniform(u32 index); |
| 75 | bool& GetBoolUniform(u32 index); | 75 | bool& GetBoolUniform(u32 index); |
| 76 | Math::Vec4<u8>& GetIntUniform(u32 index); | 76 | Math::Vec4<u8>& GetIntUniform(u32 index); |
| 77 | Math::Vec4<float24>& GetDefaultAttribute(u32 index); | ||
| 77 | 78 | ||
| 78 | const std::array<u32, 1024>& GetShaderBinary(); | 79 | const std::array<u32, 1024>& GetShaderBinary(); |
| 79 | const std::array<u32, 1024>& GetSwizzlePatterns(); | 80 | const std::array<u32, 1024>& GetSwizzlePatterns(); |