mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
vk: Fix FSR upscaling
This commit is contained in:
parent
ae74aa336f
commit
93e6aa6310
1 changed files with 8 additions and 0 deletions
|
@ -61,6 +61,9 @@ namespace vk
|
|||
// Fill with 0 to avoid sending incomplete/unused variables to the GPU
|
||||
memset(m_constants_buf, 0, sizeof(m_constants_buf));
|
||||
|
||||
// No ssbo usage
|
||||
ssbo_count = 0;
|
||||
|
||||
// Enable push constants
|
||||
use_push_constants = true;
|
||||
push_constants_size = push_constants_size_;
|
||||
|
@ -116,6 +119,11 @@ namespace vk
|
|||
m_input_size = input_size;
|
||||
m_output_size = output_size;
|
||||
|
||||
if (!m_program)
|
||||
{
|
||||
load_program(cmd);
|
||||
}
|
||||
|
||||
configure(cmd);
|
||||
|
||||
constexpr auto wg_size = 16;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue