mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Merge pull request #1578 from kd-11/vulkan-wip
vk: Re-enable fog parameters for vulkan
This commit is contained in:
commit
93b06f2a39
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user