On Thu, Oct 30, 2014 at 10:57 AM, Thomas Helland <thomashellan...@gmail.com> wrote: > Are the affected shaders from some commercial game that I might > have in my steam-collection? Would be nice to extract a real-life > shader that experiences this not-so-good behavior.
Yes. Games with improvements: - Planeshift (one shader) - Dungeon Defenders (three shaders) - Guacamelee (two shaders) Games with shaders hurt: - Civ 5, Stacking, Metro Last Light, Brutal Legend, The Cave, XCOM Enemy Unknown, Guacamelee, Natural Selection 2 > I could try putting the saturate generation before this pass and write > some shaders that exercise the regression we see here. > > Since freedreno implements saturates with min/max we should > probably allow for splitting up saturates. > Maybe we could add an "emitSaturate" option so that we can split > up saturates if the backend does not support it? > That way we can do what's best for each backend. Yes, see the EmitNo* members of gl_shader_compiler_options in src/mesa/main/mtypes.h. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev