Save cluster render shader from being optimized out entirely

This commit is contained in:
Pedro J. Estébanez 2023-05-08 11:48:17 +02:00
parent cf8ad12b56
commit 6465432570
4 changed files with 36 additions and 7 deletions

View file

@ -704,6 +704,8 @@ public:
SUPPORTS_MULTIVIEW,
SUPPORTS_FSR_HALF_FLOAT,
SUPPORTS_ATTACHMENT_VRS,
// If not supported, a fragment shader with only side effets (i.e., writes to buffers, but doesn't output to attachments), may be optimized down to no-op by the GPU driver.
SUPPORTS_FRAGMENT_SHADER_WITH_ONLY_SIDE_EFFECTS,
};
virtual bool has_feature(const Features p_feature) const = 0;