Support first
and either
sampling in @interpolate(flat, …)
#6122
Labels
area: validation
Issues related to validation, diagnostics, and error handling
lang: WGSL
WebGPU Shading Language
naga
Shader Translator
The WebGPU spec. made some changes to WGSL with
gpuweb
#4639 that we need to handle; it…first
andeither
interpolation sampling to theflat
interpolation type, withfirst
as the default.perspective
andlinear
interpolation types are constrained to the set of{center,centroid,sample}
, to exclude the new interpolation sampling options.The text was updated successfully, but these errors were encountered: