VideoCommon: Add dynamic vertex loader to ubershaders

This commit is contained in:
TellowKrinkle
2022-06-18 01:09:35 -05:00
parent 720b3f5519
commit 4c629c2bee
17 changed files with 253 additions and 66 deletions

View File

@ -93,6 +93,13 @@ struct VertexShaderConstants
float4 cached_tangent;
float4 cached_binormal;
// For UberShader vertex loader
u32 vertex_stride;
u32 vertex_offset_normals[3];
u32 vertex_offset_position;
u32 vertex_offset_posmtx;
u32 vertex_offset_colors[2];
u32 vertex_offset_texcoords[8];
};
struct GeometryShaderConstants