summaryrefslogtreecommitdiff
path: root/src/video_core/vertex_shader.h
diff options
context:
space:
mode:
authorGravatar Subv2015-04-11 13:53:35 -0500
committerGravatar Subv2015-05-06 18:11:46 -0500
commit0e5ca080a86a6e393eab1a11075561a62a2e01f9 (patch)
treecf37d6291c720f06311a5403acb37d5b6a82d18e /src/video_core/vertex_shader.h
parentMerge pull request #683 from bunnei/thread-priority (diff)
downloadyuzu-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.h1
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);
74Math::Vec4<float24>& GetFloatUniform(u32 index); 74Math::Vec4<float24>& GetFloatUniform(u32 index);
75bool& GetBoolUniform(u32 index); 75bool& GetBoolUniform(u32 index);
76Math::Vec4<u8>& GetIntUniform(u32 index); 76Math::Vec4<u8>& GetIntUniform(u32 index);
77Math::Vec4<float24>& GetDefaultAttribute(u32 index);
77 78
78const std::array<u32, 1024>& GetShaderBinary(); 79const std::array<u32, 1024>& GetShaderBinary();
79const std::array<u32, 1024>& GetSwizzlePatterns(); 80const std::array<u32, 1024>& GetSwizzlePatterns();