GPU: Implemented default vertex shader attributes.

Fixes some games crashing.
This commit is contained in:
Subv 2015-04-11 13:53:35 -05:00
parent 6f1143885b
commit 0e5ca080a8
4 changed files with 135 additions and 66 deletions

View file

@ -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();