Merge pull request #89277 from RandomShaper/rdd_public_shader_desc

Make `ShaderDescription` and related types public
This commit is contained in:
Rémi Verschelde 2024-03-08 13:09:50 +01:00
commit ffc41fb76d
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -878,6 +878,7 @@ protected:
static const char *SHADER_STAGE_NAMES[SHADER_STAGE_MAX];
public:
struct ShaderUniform {
UniformType type = UniformType::UNIFORM_TYPE_MAX;
bool writable = false;
@ -925,6 +926,7 @@ protected:
Vector<ShaderStage> stages;
};
protected:
struct ShaderReflection : public ShaderDescription {
BitField<ShaderStage> stages;
BitField<ShaderStage> push_constant_stages;