Ensure specialization constants come sorted from reflection
This commit is contained in:
@ -912,6 +912,8 @@ public:
|
||||
|
||||
struct ShaderSpecializationConstant : public PipelineSpecializationConstant {
|
||||
BitField<ShaderStage> stages;
|
||||
|
||||
bool operator<(const ShaderSpecializationConstant &p_other) const { return constant_id < p_other.constant_id; }
|
||||
};
|
||||
|
||||
struct ShaderDescription {
|
||||
|
||||
Reference in New Issue
Block a user