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_msl[] = {
static const unsigned char testgpurender_effects_CRT_frag_msl[] = {
0x23, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x20, 0x3c, 0x6d, 0x65,
0x74, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x3e, 0x0a,
0x23, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x20, 0x3c, 0x73, 0x69,
@@ -103,4 +103,4 @@ static const unsigned char testgpu_effects_CRT_frag_msl[] = {
0x20, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x6f, 0x75, 0x74,
0x3b, 0x0a, 0x7d, 0x0a, 0x0a
};
static const unsigned int testgpu_effects_CRT_frag_msl_len = 1229;
static const unsigned int testgpurender_effects_CRT_frag_msl_len = 1229;