cbaggers / varjo

Lisp to GLSL Language Translator
BSD 2-Clause "Simplified" License
223 stars 23 forks source link

v-double version check #151

Open mfiano opened 6 years ago

mfiano commented 6 years ago

GLSL got double support in 4.0.0, but vertex attributes not until OpenGL 4.1. Might need some checks. Just going by wiki pages here and here

cbaggers commented 6 years ago

"There are no double-precision floating-point input types in the vertex shading language." page 34 glsl v4 spec

also

"Fragment shader inputs that are signed or unsigned integers, integer vectors, or any double-precision floating-point type must be qualified with the interpolation qualifier flat'