chrisforbes / mesa

chrisf's mesa hacks
2 stars 0 forks source link

ARB_fragment_program support: allow benign respecification of precision hints #34

Closed chrisforbes closed 11 years ago

chrisforbes commented 11 years ago

The spec says:

Only one precision control option may be specified by any given 
fragment program.  A fragment program that specifies both the
"ARB_precision_hint_fastest" and "ARB_precision_hint_nicest" program
options will fail to load.

It's not particularly meaningful to specify the same hint twice, but nVIDIA allows it, and so Unity3D games emit this kind of junk in some of their shaders.

chrisforbes commented 11 years ago

Fixed in ksp-fixes

chrisforbes commented 11 years ago

Fix is now in master, queued for 9.1.x