1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-26 04:32:35 +01:00

Re-enable fog parameters for vulkan

This commit is contained in:
kd-11 2016-03-15 22:29:22 +03:00
parent 7584f29ec7
commit f2d5542e66

View File

@ -704,8 +704,8 @@ bool VKGSRender::load_program()
}
memset((char*)buf+64, 0, 8);
// memcpy((char*)buf + 64, &rsx::method_registers[NV4097_SET_FOG_PARAMS], sizeof(float));
// memcpy((char*)buf + 68, &rsx::method_registers[NV4097_SET_FOG_PARAMS + 1], sizeof(float));
memcpy((char*)buf + 64, &rsx::method_registers[NV4097_SET_FOG_PARAMS], sizeof(float));
memcpy((char*)buf + 68, &rsx::method_registers[NV4097_SET_FOG_PARAMS + 1], sizeof(float));
m_scale_offset_buffer.unmap();
buf = (u8*)m_vertex_constants_buffer.map(0, VK_WHOLE_SIZE);