[2/2] wined3d: For ps_2_0 and higher, call shader_get_registers_used() in IWineD3DPixelShaderImpl_SetFunction

Stefan Dösinger stefandoesinger at gmx.at
Fri Jun 8 05:07:45 CDT 2007


Am Donnerstag, 7. Juni 2007 23:52 schrieb H. Verbeet:
> For pre-2.0 pixel shaders the stateblock is used to determine the
> sampler types, so we need to wait until CompileShader to do this. For
> ps_2_0 and higher there is no such requirement.
>
> Changelog:
>   - For ps_2_0 and higher, call shader_get_registers_used() in
> IWineD3DPixelShaderImpl_SetFunction
Are you going to compile >= 2.0 shaders in SetFunction? How would that work 
with other things that may need delayed compilation, like fog or (future) 
srgb write correction?



More information about the wine-devel mailing list