Skip to content

compiler/types: Use a typedef for glsl_type

Caio Oliveira requested to merge cmarcelo/mesa:glsl-type-typedef into main

Most of the code now will see const glsl_type * instead of const struct glsl_type *.


Changed glsl_type.[ch] to use them, so additions there will be encouraged to also use it.

Haven't changed the remaining code in Mesa, in this case I think makes sense to let it take advantage of it "organically".

Only the last patch is relevant for this MR. This is on top of !26707 (merged) so for reviewing those see that MR.

Merge request reports