delete std430,row_major

This commit is contained in:
hyzboy 2020-04-08 20:51:01 +08:00
parent 956dbfb74c
commit 504cc3d86f
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
layout(std430,binding = 0,row_major) uniform WorldMatrix // hgl/math/Math.h
layout(binding = 0) uniform WorldMatrix // hgl/math/Math.h
{
mat4 ortho;

View File

@ -1,4 +1,7 @@
layout(std430,push_constant,row_major) uniform Consts {
layout(push_constant) uniform Consts
{
mat4 local_to_world;
mat3 normal;
vec3 object_position;
vec3 object_size;
} pc;