[Bug 37171] half-life 2 with -dxlevel 90 crashes system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugs.freedesktop.org/show_bug.cgi?id=37171

--- Comment #20 from Stefan Dösinger <stefandoesinger@xxxxxx> 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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux