[PICA] We can now upload floating point uniforms

This commit is contained in:
wheremyfoodat 2022-09-23 14:15:04 +03:00
parent a7bde80658
commit 92b7ca3b8c
6 changed files with 94 additions and 23 deletions

View file

@ -67,7 +67,7 @@ class GPU {
u32 totalAttribCount = 0; // Number of vertex attributes to send to VS
u32 fixedAttribMask = 0; // Which attributes are fixed?
u32 fixedAttribIndex = 0; // Which fixed attribute are we writing to ([0, 12] range)
u32 fixedAttribIndex = 0; // Which fixed attribute are we writing to ([0, 11] range)
u32 fixedAttribCount = 0; // How many attribute components have we written? When we get to 4 the attr will actually get submitted
std::array<u32, 3> fixedAttrBuff; // Buffer to hold fixed attributes in until they get submitted