mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
GL: remove unused params
This commit is contained in:
parent
18983f5476
commit
2cbd983b4c
2 changed files with 6 additions and 6 deletions
|
@ -98,7 +98,7 @@ namespace gl
|
|||
m_input_size = input_size;
|
||||
m_output_size = output_size;
|
||||
|
||||
configure(cmd);
|
||||
configure();
|
||||
|
||||
saved_sampler_state saved(GL_TEMP_IMAGE_SLOT(0), m_sampler);
|
||||
cmd->bind_texture(GL_TEMP_IMAGE_SLOT(0), GL_TEXTURE_2D, src->id());
|
||||
|
@ -124,7 +124,7 @@ namespace gl
|
|||
)
|
||||
{}
|
||||
|
||||
void easu_pass::configure(const gl::command_context& cmd)
|
||||
void easu_pass::configure()
|
||||
{
|
||||
// NOTE: Configuration vector 4 is unused as we do not support HDR natively
|
||||
auto con0 = &m_constants_buf[0];
|
||||
|
@ -148,7 +148,7 @@ namespace gl
|
|||
)
|
||||
{}
|
||||
|
||||
void rcas_pass::configure(const gl::command_context& cmd)
|
||||
void rcas_pass::configure()
|
||||
{
|
||||
// 0 is actually the sharpest with 2 being the chosen limit. Each progressive unit 'halves' the sharpening intensity.
|
||||
auto cas_attenuation = 2.f - (g_cfg.video.vk.rcas_sharpening_intensity / 50.f);
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace gl
|
|||
gl::buffer m_ubo;
|
||||
|
||||
void bind_resources() override;
|
||||
virtual void configure(const gl::command_context& cmd) = 0;
|
||||
virtual void configure() = 0;
|
||||
|
||||
public:
|
||||
fsr_pass(const std::string& config_definitions, u32 push_constants_size);
|
||||
|
@ -34,7 +34,7 @@ namespace gl
|
|||
|
||||
class easu_pass : public fsr_pass
|
||||
{
|
||||
void configure(const gl::command_context& cmd) override;
|
||||
void configure() override;
|
||||
|
||||
public:
|
||||
easu_pass();
|
||||
|
@ -42,7 +42,7 @@ namespace gl
|
|||
|
||||
class rcas_pass : public fsr_pass
|
||||
{
|
||||
void configure(const gl::command_context& cmd) override;
|
||||
void configure() override;
|
||||
|
||||
public:
|
||||
rcas_pass();
|
||||
|
|
Loading…
Add table
Reference in a new issue