aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/vertex_shader.h
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2015-05-06 19:33:03 -0400
committerGravatar bunnei <bunneidev@gmail.com>2015-05-06 19:33:03 -0400
commit337f1e1b96445b81c40c313b1bf680fe660f14f5 (patch)
tree2a2a37c9b7c938e3e1abf3b36c637cd6b5c25d1f /src/video_core/vertex_shader.h
parentc4abfe893bf23e7937a29263a68451c24b349fd9 (diff)
parent0e5ca080a86a6e393eab1a11075561a62a2e01f9 (diff)
Merge pull request #695 from Subv/crash_f
GPU: Implemented default vertex shader attributes.
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 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();