vulkan: use single push constant range per pipeline
This commit is contained in:
parent
5a5f918f71
commit
20716cdd1e
11 changed files with 71 additions and 140 deletions
5
src/gfx_apis/vulkan/shaders/tex.common.glsl
Normal file
5
src/gfx_apis/vulkan/shaders/tex.common.glsl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
layout(push_constant, std430) uniform Data {
|
||||
layout(offset = 0) vec2 pos[4];
|
||||
layout(offset = 32) vec2 tex_pos[4];
|
||||
layout(offset = 64) float mul;
|
||||
} data;
|
||||
Loading…
Add table
Add a link
Reference in a new issue