wined3d: Record floating point pixel shader constants in EndStateBlock() as well.
This commit is contained in:
parent
4adb342327
commit
78ad5de8da
|
@ -4868,6 +4868,14 @@ static HRESULT WINAPI IWineD3DDeviceImpl_EndStateBlock(IWineD3DDevice *iface, IW
|
||||||
object->num_contained_vs_consts_b++;
|
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++) {
|
for(i = 0; i < MAX_CONST_I; i++) {
|
||||||
if (object->changed.pixelShaderConstantsI & (1 << i))
|
if (object->changed.pixelShaderConstantsI & (1 << i))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue