add normal matrix at PushConstant struct.
This commit is contained in:
parent
024b6dac9c
commit
1038ecc86b
@ -122,6 +122,7 @@ inline const uint GetShaderCountByBits(const uint32_t bits)
|
||||
struct PushConstant
|
||||
{
|
||||
Matrix4f local_to_world;
|
||||
Matrix4f normal;
|
||||
};
|
||||
|
||||
constexpr uint32_t MAX_PUSH_CONSTANT_BYTES=sizeof(PushConstant);
|
||||
|
Loading…
x
Reference in New Issue
Block a user