GPU: Implemented default vertex shader attributes.
Fixes some games crashing.
This commit is contained in:
parent
6f1143885b
commit
0e5ca080a8
4 changed files with 135 additions and 66 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue