mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-23 00:01:31 +11:00
77b6ca6bed
* Implement average fill * Implement corner blend modes * Add copyright; Change defaults; Add some polish * Add settings delimiter * Fix settings name
15 lines
399 B
Plaintext
15 lines
399 B
Plaintext
#version 450
|
|
|
|
// See compose.slang for copyright and other information.
|
|
|
|
#include "parameters.slang"
|
|
|
|
// clang-format off
|
|
#define EFF_CROP_TOP (param.OS_CROP_TOP)
|
|
#define EFF_CROP_BOTTOM (param.OS_CROP_BOTTOM)
|
|
#define EFF_CROP_LEFT (param.InputSize.x - param.OS_CROP_RIGHT - param.SAMPLE_SIZE)
|
|
#define EFF_CROP_RIGHT (param.OS_CROP_RIGHT)
|
|
// clang-format on
|
|
|
|
#include "crop_and_sample_common.slang"
|