Compute shader: add support for external texture, color component swapping (bgr to rgb)

This commit is contained in:
dec05eba
2025-03-30 04:47:30 +02:00
parent c679b2fdb6
commit 96ca048856
2 changed files with 88 additions and 42 deletions

View File

@@ -6,7 +6,7 @@
#include "vec2.h"
#include <stdbool.h>
#define GSR_COLOR_CONVERSION_MAX_SHADERS 3
#define GSR_COLOR_CONVERSION_MAX_SHADERS 6
typedef enum {
GSR_COLOR_RANGE_LIMITED,