[Bug 37171] half-life 2 with -dxlevel 90 crashes system
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Mar 16 09:41:21 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=37171
--- Comment #20 from Stefan Dösinger <stefandoesinger at gmx.at> 2012-03-16 09:41:21 PDT ---
Note that Shader Model 2 in d3d kinda supports loops and conditions on hardware
that shouldn't be able to handle them. The caveat of this support is that they
do not support dynamic branching. The loop counter is a uniform and cannot be
changed at shader runtime, and there are no break statements or other ways to
abort the loop before the iteration counter is reached. If statements only
support uniforms as conditions as well.
Wine translates those constructs into GLSL for loops and if statements that
only read uniforms, the compiler should be able to unroll them. With ARB
shaders we unroll them ourselves and generate one GL shader for each control
uniform combination that is used by the application.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the dri-devel
mailing list