Darkyenus / glsl4idea

A GLSL language plugin for IntelliJ IDEA
GNU Lesser General Public License v3.0
101 stars 30 forks source link

min/max not recognized for i64/u64 #176

Open Cazadorro opened 1 year ago

Cazadorro commented 1 year ago

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

Darkyenus commented 1 year ago

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