//!COMPUTE 32 24 256 1
Äh .... überlege gerade was du meinst.
Der Metadata !//COMPUTE in Zeile 2 bei NVShader legt fest, dass es ein compute Shader ist und wie dessen Parameter sind.
Wird dann von libplacebo umgesetzt.
Du musst halt für Nvidia GPU Zeile 2 und 10 ändern. Für optimale Performance.
//!COMPUTE 32 24 128 1
//!WHEN OUTPUT.w OUTPUT.h * LUMA.w LUMA.h * / 1.0 >
//!WIDTH OUTPUT.w
//!HEIGHT OUTPUT.h
// User variables
#define SHARPNESS 0.25 // Amount of sharpening. 0.0 to 1.0.
#define NIS_THREAD_GROUP_SIZE 128