Skip to content

Commit

Permalink
Merge pull request #89277 from RandomShaper/rdd_public_shader_desc
Browse files Browse the repository at this point in the history
Make `ShaderDescription` and related types public
  • Loading branch information
akien-mga committed Mar 8, 2024
2 parents a658621 + 560e79c commit ffc41fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions servers/rendering/rendering_device_commons.h
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,7 @@ class RenderingDeviceCommons : public Object {

static const char *SHADER_STAGE_NAMES[SHADER_STAGE_MAX];

public:
struct ShaderUniform {
UniformType type = UniformType::UNIFORM_TYPE_MAX;
bool writable = false;
Expand Down Expand Up @@ -925,6 +926,7 @@ class RenderingDeviceCommons : public Object {
Vector<ShaderStage> stages;
};

protected:
struct ShaderReflection : public ShaderDescription {
BitField<ShaderStage> stages;
BitField<ShaderStage> push_constant_stages;
Expand Down

0 comments on commit ffc41fb

Please sign in to comment.