Merge pull request #1578 from kd-11/vulkan-wip

vk: Re-enable fog parameters for vulkan
This commit is contained in:
vlj 2016-03-15 21:54:40 +01:00
commit 93b06f2a39

View File

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