testgpurender_effects: use the grayscale algorithm from BT.709

This commit is contained in:
Sam Lantinga
2025-09-26 10:27:10 -07:00
parent 1f73c19a73
commit 1d2a482dde
9 changed files with 555 additions and 554 deletions

View File

@@ -1,4 +1,4 @@
static const unsigned char testgpu_effects_CRT_frag_spv[] = {
static const unsigned char testgpurender_effects_CRT_frag_spv[] = {
0x03, 0x02, 0x23, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0e, 0x00,
0x5a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
0x01, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x06, 0x00, 0x01, 0x00, 0x00, 0x00,
@@ -186,4 +186,4 @@ static const unsigned char testgpu_effects_CRT_frag_spv[] = {
0x05, 0x00, 0x00, 0x00, 0x59, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0x00,
0x38, 0x00, 0x01, 0x00
};
static const unsigned int testgpu_effects_CRT_frag_spv_len = 2224;
static const unsigned int testgpurender_effects_CRT_frag_spv_len = 2224;