1.changed the shader resource's name from 128 to 32.
2.changed the basetype and vec_size type from uint32_t to uint8_t
This commit is contained in:
parent
b8f8c9a337
commit
b3202f5a9b
@ -241,14 +241,14 @@ char *new_strcpy(const char *src)
|
||||
return str;
|
||||
}
|
||||
|
||||
constexpr size_t SHADER_RESOURCE_NAME_MAX_LENGTH=128;
|
||||
constexpr size_t SHADER_RESOURCE_NAME_MAX_LENGTH=32;
|
||||
|
||||
struct ShaderStage
|
||||
{
|
||||
char name[SHADER_RESOURCE_NAME_MAX_LENGTH];
|
||||
uint8_t location;
|
||||
uint32_t basetype;
|
||||
uint32_t vec_size;
|
||||
uint8_t basetype;
|
||||
uint8_t vec_size;
|
||||
};//
|
||||
|
||||
struct ShaderStageData
|
||||
|
Loading…
x
Reference in New Issue
Block a user