mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
vk: Allow indexed lookup for sampler and IA binding points in overlay passes
This commit is contained in:
parent
ac9afbfede
commit
ce571cb6ca
1 changed files with 4 additions and 1 deletions
|
@ -96,6 +96,9 @@ namespace vk
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int sampler_location(int index) const { return 1 + index; }
|
||||||
|
int input_attachment_location(int index) const { return 1 + m_num_usable_samplers + index; }
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void upload_vertex_data(T* data, u32 count)
|
void upload_vertex_data(T* data, u32 count)
|
||||||
{
|
{
|
||||||
|
@ -216,7 +219,7 @@ namespace vk
|
||||||
|
|
||||||
float data[4];
|
float data[4];
|
||||||
}
|
}
|
||||||
config;
|
config = {};
|
||||||
|
|
||||||
video_out_calibration_pass();
|
video_out_calibration_pass();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue