GPU/HW: Move drawing offset to CPU-side

Saves updating the uniform buffer.
This commit is contained in:
Connor McLaughlin
2020-03-24 00:20:15 +10:00
parent 40481305c4
commit e2e2b573c0
7 changed files with 20 additions and 41 deletions

View File

@ -95,13 +95,12 @@ protected:
struct BatchUBOData
{
s32 u_pos_offset[2];
u32 u_texture_window_mask[2];
u32 u_texture_window_offset[2];
float u_src_alpha_factor;
float u_dst_alpha_factor;
u32 u_set_mask_while_drawing;
u32 padding[3];
u32 padding[1];
};
struct RendererStats