case GLSL_SAMPLER_DIM_SUBPASS_MS:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_INT:
if (shadow)
return &glsl_type_builtin_error;
case GLSL_SAMPLER_DIM_SUBPASS_MS:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_UINT:
if (shadow)
return &glsl_type_builtin_error;
case GLSL_SAMPLER_DIM_SUBPASS_MS:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_VOID:
return shadow ? &glsl_type_builtin_samplerShadow : &glsl_type_builtin_sampler;
default:
else
return &glsl_type_builtin_textureExternalOES;
}
+ break;
case GLSL_TYPE_INT:
switch (dim) {
case GLSL_SAMPLER_DIM_1D:
case GLSL_SAMPLER_DIM_EXTERNAL:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_UINT:
switch (dim) {
case GLSL_SAMPLER_DIM_1D:
case GLSL_SAMPLER_DIM_EXTERNAL:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_VOID:
switch (dim) {
case GLSL_SAMPLER_DIM_1D:
case GLSL_SAMPLER_DIM_EXTERNAL:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_INT:
switch (dim) {
case GLSL_SAMPLER_DIM_1D:
case GLSL_SAMPLER_DIM_EXTERNAL:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_UINT:
switch (dim) {
case GLSL_SAMPLER_DIM_1D:
case GLSL_SAMPLER_DIM_EXTERNAL:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_INT64:
switch (dim) {
case GLSL_SAMPLER_DIM_1D:
case GLSL_SAMPLER_DIM_EXTERNAL:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_UINT64:
switch (dim) {
case GLSL_SAMPLER_DIM_1D:
case GLSL_SAMPLER_DIM_EXTERNAL:
return &glsl_type_builtin_error;
}
+ break;
case GLSL_TYPE_VOID:
switch (dim) {
case GLSL_SAMPLER_DIM_1D: