directX 10 and hlsl2glsl

Stefan Dösinger stefandoesinger at gmx.at
Mon Dec 10 03:35:43 CST 2007


Am Samstag, 8. Dezember 2007 20:42:05 schrieb Sònia Xapellí Brú:
>  I know there was some discussion concerning the use of hlsl2glsl and
> that it is not directly useful as it seems that the conversion to
> assembler is necessary in d3d9. Nevertheless, when it comes to
> d3d10,Shader Model 4 relies only  in source code and forbids the
> programmers from implementing directly the assembler tokens. Therefore,
> I think that in this case the best solution, maximising the use of the
> graphic card capabilities goes mandatory to the use of the trasnlator
> and leaving up to the graphic card driver the compilation of GLSL.
DirectX10 allows assembly(or better: bytecode) shaders as well. It has a 
compiler built in, so we need our own, but we do need a SM4 bytecode parser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20071210/9ad9fd90/attachment.pgp 


More information about the wine-devel mailing list