198 this->value.u =
value;
203 this->value.i =
value;
208 this->value.f =
value;
213 this->value.u = value ? 1 : 0;
218 return this->type ==
b.type && this->name ==
b.name && this->value ==
b.value;
#define BLI_assert_unreachable()
@ GPU_LOADACTION_DONT_CARE
@ GPU_STOREACTION_DONT_CARE
local_group_size(16, 16) .push_constant(Type b
BLI_INLINE int to_component_count(const Type &type)
bool operator==(const Value &other) const
SpecializationConstant(const char *name, int value)
SpecializationConstant(const char *name, float value)
bool operator==(const SpecializationConstant &b) const
SpecializationConstant(const char *name, uint32_t value)
SpecializationConstant(const char *name, bool value)