[WINED3D] Share get_opcode

Ivan Gyurdiev ivg2 at cornell.edu
Wed Apr 26 21:53:15 CDT 2006


This patch moves the get_opcode function into baseshader.c and makes it 
shared. I've merged the two by picking the pixel shader one, since it's 
better. This allows versioning of the vertex opcodes like it's already 
done for pixel shaders.

====

This patch requires the one that removes pixel shader opcodes from the 
vertex table, because otherwise that will interfere with versioning 
(they all had PS versions, not VS). The same patch also changed vs_def 
not to use pixel shader versioning.

Also requires the addline cleanup patch, since the diff will fail otherwise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine.baseshader_get_opcode.diff
Type: text/x-patch
Size: 6881 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060426/c471faf7/wine.baseshader_get_opcode.diff


More information about the wine-patches mailing list