Closed ianromanick closed 1 week ago
This is certainly true of our implementation. I agree that the GLSL and ESSL specs should be updated to match the SPIR-V extended instruction behaviour.
Assigned to @ianromanick to make an internal MR against the GLSL spec.
The GLSL 4.60 (and also earlier) spec says for
min
:The GLSL.std.460 spec says for
FMin
:It seems like when GLSL.std.460 adopted this sensible behavior that the GLSL 4.60 (and possibly earlier) spec should have been updated to match. I suspect that most drivers and hardware have been implementing the GLSL.std.460 behavior for years.