According to 8.3 in the specification, min() and max() functions should return results based on relational operations, y < x or y > x. As they support genType for both operands, it supposedly require >, < operators for vector types, which I don't think allowed by the spec.

I see many shader codes that use min()/max() for picking component-wise extreme values, but wonder if it is standard compliant.

Did I miss something? Maybe more precise note about genType in the spec would be appreciated.