Implement shader barycentrics (#8320)

This commit is contained in:
atlv authored and GitHub committed 2025-10-29 13:15:21 -04:00
1 parent 54beef8aca
commit ddcd89fd69
34 files changed
+422 -4

No files matched your search

+4
View File
@@ -510,6 +510,10 @@ pub fn create_validator(
Caps::TEXTURE_EXTERNAL,
features.intersects(wgt::Features::EXTERNAL_TEXTURE),
);
caps.set(
Caps::SHADER_BARYCENTRICS,
features.intersects(wgt::Features::SHADER_BARYCENTRICS),
);
naga::valid::Validator::new(flags, caps)
}