diff options
author | Subv <subv2112@gmail.com> | 2015-04-11 13:53:35 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-05-06 18:11:46 -0500 |
commit | 0e5ca080a86a6e393eab1a11075561a62a2e01f9 (patch) | |
tree | cf37d6291c720f06311a5403acb37d5b6a82d18e /src/video_core/vertex_shader.h | |
parent | 6f1143885bcc02642b707b51355fe4b6cd5375c7 (diff) |
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 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<float24>& GetFloatUniform(u32 index); bool& GetBoolUniform(u32 index); Math::Vec4<u8>& GetIntUniform(u32 index); +Math::Vec4<float24>& GetDefaultAttribute(u32 index); const std::array<u32, 1024>& GetShaderBinary(); const std::array<u32, 1024>& GetSwizzlePatterns(); |