mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-12-02 04:11:30 +11:00
15 lines
401 B
Plaintext
15 lines
401 B
Plaintext
|
#version 450
|
||
|
|
||
|
// See compose.slang for copyright and other information.
|
||
|
|
||
|
#include "parameters.slang"
|
||
|
|
||
|
// clang-format off
|
||
|
#define EFF_CROP_TOP (param.InputSize.y - param.OS_CROP_BOTTOM - param.SAMPLE_SIZE)
|
||
|
#define EFF_CROP_BOTTOM (param.OS_CROP_BOTTOM)
|
||
|
#define EFF_CROP_LEFT (param.OS_CROP_LEFT)
|
||
|
#define EFF_CROP_RIGHT (param.OS_CROP_RIGHT)
|
||
|
// clang-format on
|
||
|
|
||
|
#include "crop_and_sample_common.slang"
|