mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoCommon: Add dynamic vertex loader to ubershaders
This commit is contained in:
parent
720b3f5519
commit
4c629c2bee
17 changed files with 253 additions and 66 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue