glsl4idea icon indicating copy to clipboard operation
glsl4idea copied to clipboard

min/max not recognized for i64/u64

Open Cazadorro opened this issue 2 years ago • 1 comments

Describe the bug min and max (and likely others) not recognized for i64 and u64

To Reproduce

int64_t min_v(i64vec2 value){
    return min(value.x, value.y);
}

Says "Incompatible types, required int64_t, found: double"

Expected behavior I expect the plugin to recognize the builtin function for i64 and u64, and produce no errors.

Screenshots N/A

Versions Clion 2022.3, Plugin 1.23

Cazadorro avatar Dec 01 '22 15:12 Cazadorro

This is a direct consequence of #175 - no/partial support for GL_EXT_shader_explicit_arithmetic_types.

Darkyenus avatar Jan 24 '23 11:01 Darkyenus