From 0e5ca080a86a6e393eab1a11075561a62a2e01f9 Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 11 Apr 2015 13:53:35 -0500 Subject: GPU: Implemented default vertex shader attributes. Fixes some games crashing. --- src/video_core/vertex_shader.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/video_core/vertex_shader.h') diff --git a/src/video_core/vertex_shader.h b/src/video_core/vertex_shader.h index 3a68a340..c26709bb 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); Math::Vec4& GetFloatUniform(u32 index); bool& GetBoolUniform(u32 index); Math::Vec4& GetIntUniform(u32 index); +Math::Vec4& GetDefaultAttribute(u32 index); const std::array& GetShaderBinary(); const std::array& GetSwizzlePatterns(); -- cgit v1.2.3