feat(shader): add fragmentShaderBarycentricEnabled flag to recompiler

This commit is contained in:
boykopovar committed 2026-09-22 21:35:45 +03:00
1 parent 4734f43c60
commit bb27de6fac
8 files changed
+9 -2

No files matched your search

@@ -525,6 +525,7 @@ void writeSpirvTarget(Writer& writer, const SpirvTarget& target) {
for (const std::string_view extension : target.supportedExtensions) {
writer.WriteString(extension);
}
writer.WriteBool(target.fragmentShaderBarycentricEnabled);
for (const std::uint32_t value : target.maxWorkgroupSize) {
writer.WriteU32(value);
}
@@ -557,6 +558,7 @@ SpirvTarget readSpirvTarget(Reader& reader, DeserializedRequest& result) {
result.supportedExtensions.push_back(result.supportedExtensionStorage.back());
}
target.supportedExtensions = result.supportedExtensions;
target.fragmentShaderBarycentricEnabled = reader.ReadBool();
for (std::uint32_t& value : target.maxWorkgroupSize) {
value = reader.ReadU32();
}