https://bugs.freedesktop.org/show_bug.cgi?id=60737
--- Comment #1 from Paul Berry <[email protected]> --- Ok, this turned out to be more complex than I thought (don't they always?). In addition to the problem described above: 1. The spec says that default precision statements are alowed on sampler types. Mesa doesn't respect this. 2. Only the sampler types sampler2D and samplerCube have a default precision defined. The remaining sampler types require precision statements in *all* shaders. (However, in my experiments with the proprietary nVidia driver for Linux, it appears not to enforce this). 3. The spec says that default precision statements are scoped, which means that this bug won't be trivial to fix (the code we write to keep track of which types the shader has declared a default precision for will have to be scope-aware). Out of all of these problems, only problem 1 seems necessary to fix in the short run, since it is the only problem that would cause Mesa to reject an otherwise-correct shader. I have a patch out on the mailing list to fix it (http://lists.freedesktop.org/archives/mesa-dev/2013-February/034481.html). Once that patch lands I'll downgrade the priority of this bug appropriately. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
