mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
Merge pull request #1578 from kd-11/vulkan-wip
vk: Re-enable fog parameters for vulkan
This commit is contained in:
commit
93b06f2a39
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue