PostProcessing: Add native width/height inputs
Available in GLSL as GetNativeSize(), GetUpscaleMultiplier(), and in reshade as native_width/native_height/upscale_multiplier. GetPaddedOriginalSize() is now deprecated, as it does not make since since the postfx shader runs with a window-sized off-screen target as an input, not the internal render texture.
This commit is contained in:
@ -125,10 +125,11 @@ void Shutdown();
|
||||
GPUTexture* GetInputTexture();
|
||||
const Common::Timer& GetTimer();
|
||||
|
||||
bool CheckTargets(GPUTexture::Format target_format, u32 target_width, u32 target_height, ProgressCallback* progress = nullptr);
|
||||
bool CheckTargets(GPUTexture::Format target_format, u32 target_width, u32 target_height,
|
||||
ProgressCallback* progress = nullptr);
|
||||
|
||||
bool Apply(GPUTexture* final_target, s32 final_left, s32 final_top, s32 final_width, s32 final_height, s32 orig_width,
|
||||
s32 orig_height);
|
||||
s32 orig_height, s32 native_width, s32 native_height);
|
||||
|
||||
GPUSampler* GetSampler(const GPUSampler::Config& config);
|
||||
GPUTexture* GetDummyTexture();
|
||||
|
||||
Reference in New Issue
Block a user