Skip to content

st/prgm: Add fog coord gen in ARB vertex prog

Isaac Bosompem requested to merge mrisaacb/mesa:fogfix into main

The fog coordinate can be requested by the fragment program through the use of a special option flag.

If this option flag is set and the ARB vertex program does not output a fog coordinate there will be a mismatch. Undefined data can be read and used or it could result in linking failures.

This should resolve either case according to the spec.

Merge request reports