[Bug 39578] hlsl float constant translate error if constant name like 'c873'

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 12 13:11:35 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=39578

--- Comment #1 from Matteo Bruni <matteo.mystral at gmail.com> ---
Strings like "def c783..." you mention are not HLSL but actually disassembled
shader bytecode and c783 is a float constant register. The warning you get is
thrown by wined3d, complaining that the shader is trying to use an unsupported
register (you have at most 256 float constant registers in d3d9, that's for
shader model 3 vertex shaders) and failing shader compilation.

That is the limit, at least, for hardware d3d devices. Software vertex
processing relaxes many of those registry limits:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb147365%28v=vs.85%29.aspx#Software_Vertex_and_Pixel_Shaders
. Wined3d doesn't support software vertex processing at the moment though.

What game are you trying to run?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list