Commit 78ad5de8 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Record floating point pixel shader constants in EndStateBlock() as well.

parent 4adb3423
......@@ -4868,6 +4868,14 @@ static HRESULT WINAPI IWineD3DDeviceImpl_EndStateBlock(IWineD3DDevice *iface, IW
object->num_contained_vs_consts_b++;
}
}
for (i = 0; i < GL_LIMITS(pshader_constantsF); ++i)
{
if (object->changed.pixelShaderConstantsF[i])
{
object->contained_ps_consts_f[object->num_contained_ps_consts_f] = i;
++object->num_contained_ps_consts_f;
}
}
for(i = 0; i < MAX_CONST_I; i++) {
if (object->changed.pixelShaderConstantsI & (1 << i))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment