Vertex Shader regtype cleanups

Roderick Colenbrander thunderbird2k at gmx.net
Sun Apr 23 10:14:13 CDT 2006


Hi,

Right now various parts of the vertex shader code try to determine the
register type of a certain parameter. In case of '1.x' shaders this code
only had to do a single shift and some masking. Recent shader versions
support more register types and because of this added another bitmask and
shift.

At the moment only a few areas of the code use the 'extended' regtype code
and a number of other places still use the old code. This patch moves the
regtype parsing code to one place in order to make the code easier and to
hopefully prevent bugs. Second this patch will make one of my upcoming
patches more 'readable' as it would have to add similar code in an
if-statement.

Regards,
Roderick Colenbrander

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vshader_regtype.patch
Type: text/x-patch
Size: 5109 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060423/d6670397/vshader_regtype.patch


More information about the wine-patches mailing list