shader compile log (status=0): 0:41: L0002: Undeclared variable 'inf
Happens with hevc swdec on mpv-android with GLES backend. I don't think we should pass inf
to shaders, either way.
I will provide better steps to reproduce later, but seems like libplacebo doesn't handle error paths correctly and divide by zero somewhere.
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] shader compile log (status=0): 0:41: L0002: Undeclared variable 'inf'
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] Failed compiling/linking GLSL program
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] Failed creating pass
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] vertex shader source:
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 1] #version 300 es
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 2] #ifdef GL_FRAGMENT_PRECISION_HIGH
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 3] precision highp float;
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 4] #else
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 5] precision mediump float;
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 6] #endif
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 7] precision mediump sampler2D;
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 8] precision mediump sampler3D;
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 9] precision highp int;
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 10] uniform sampler2D _8002;
11-26 16:12:02.439 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 11] uniform sampler2D _4002;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 12] uniform sampler2D _c002;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 13] uniform sampler2D _18;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 14] uniform float _5[7];
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 15] uniform vec4 _6[8];
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 16] uniform float _7;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 17] uniform float _8;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 18] uniform float _9[7];
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 19] uniform vec4 _a[8];
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 20] uniform float _b;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 21] uniform float _c;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 22] uniform float _d[7];
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 23] uniform vec4 _e[8];
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 24] uniform float _f;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 25] uniform float _10;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 26] uniform mat3 _11;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 27] uniform vec3 _12;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 28] uniform mat3 _13;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 29] uniform mat3 _14;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 30] uniform mat3 _15;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 31] uniform mat3 _16;
11-26 16:12:02.440 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 32] uniform float _1c;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 33] uniform float _1d;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 34] uniform mat3 _1e;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 35] in vec2 _25;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 36] out vec2 _8003;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 37] in vec2 _26;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 38] out vec2 _4003;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 39] in vec2 _27;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 40] out vec2 _c003;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 41] in vec2 _28;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 42] void main() {
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 43] _8003 = _25;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 44] _4003 = _26;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 45] _c003 = _27;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 46] vec2 va_pos = _28;
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 47] gl_Position = vec4(va_pos, 0.0, 1.0);
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 48] }
11-26 16:12:02.441 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] fragment shader source:
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 1] #version 300 es
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 2] #ifdef GL_FRAGMENT_PRECISION_HIGH
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 3] precision highp float;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 4] #else
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 5] precision mediump float;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 6] #endif
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 7] precision mediump sampler2D;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 8] precision mediump sampler3D;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 9] precision highp int;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 10] uniform sampler2D _8002;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 11] uniform sampler2D _4002;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 12] uniform sampler2D _c002;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 13] uniform sampler2D _18;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 14] uniform float _5[7];
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 15] uniform vec4 _6[8];
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 16] uniform float _7;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 17] uniform float _8;
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 18] uniform float _9[7];
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 19] uniform vec4 _a[8];
11-26 16:12:02.442 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 20] uniform float _b;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 21] uniform float _c;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 22] uniform float _d[7];
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 23] uniform vec4 _e[8];
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 24] uniform float _f;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 25] uniform float _10;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 26] uniform mat3 _11;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 27] uniform vec3 _12;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 28] uniform mat3 _13;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 29] uniform mat3 _14;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 30] uniform mat3 _15;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 31] uniform mat3 _16;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 32] uniform float _1c;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 33] uniform float _1d;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 34] uniform mat3 _1e;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 35] in vec2 _8003;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 36] in vec2 _4003;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 37] in vec2 _c003;
11-26 16:12:02.443 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 38] out vec4 out_color;
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 39]
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 40] const float _2 = float(0);
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 41] const float _3 = float(inf);
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 42] const float _8004 = float(1);
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 43] vec4 _8001() {
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 44] // pl_shader_sample_direct
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 45] vec4 color = vec4(_8004) * textureLod(_8002, _8003, 0.0);
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 46] return color;
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 47] }
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 48]
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 49] const float _4004 = float(1);
11-26 16:12:02.444 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 50] vec4 _4001() {
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 51] // pl_shader_sample_direct
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 52] vec4 color = vec4(_4004) * textureLod(_4002, _4003, 0.0);
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 53] return color;
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 54] }
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 55]
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 56] const float _c004 = float(1);
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 57] vec4 _c001() {
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 58] // pl_shader_sample_direct
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 59] vec4 color = vec4(_c004) * textureLod(_c002, _c003, 0.0);
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 60] return color;
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 61] }
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 62]
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 63] const float _4 = float(1);
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 64] const float _1a = float(0.99609375);
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 65] const float _1b = float(0.001953125);
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 66] #define _19(x) (_1a * (x) + _1b)
11-26 16:12:02.445 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 67] #define _17(pos) (textureLod(_18, vec2(\
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 68] _19(float(pos))\
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 69] ,0.5\
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 70] ), 0.0).x)
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 71] const float _1f = float(1.149015188217163);
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 72] const float _20 = float(0.0595848374068737);
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 73] const float _21 = float(1);
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 74] vec4 _1() {
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 75] vec4 color = vec4(_2, vec2(_3), 1.0);
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 76] // pass_read_image
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 77] {
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 78] vec4 tmp;
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 79] tmp = _8001();
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 80] color[1] = tmp[0];
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 81] tmp = _4001();
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 82] color[2] = tmp[0];
11-26 16:12:02.446 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 83] tmp = _c001();
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 84] color[0] = tmp[0];
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 85] }
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 86] // pl_shader_decode_color
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 87] {
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 88] color.rgb *= vec3(_4);
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 89] // pl_shader_reshape
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 90] {
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 91] vec3 sig;
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 92] vec4 coeffs;
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 93] float s;
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 94] sig = clamp(color.rgb, 0.0, 1.0);
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 95] s = sig[0];
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 96] #define test(i) bvec4(s >= _5[i])
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 97] #define coef(i) _6[i]
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 98] coeffs = mix(mix(mix(coef(0), coef(1), test(0)),
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [ 99] mix(coef(2), coef(3), test(2)),
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [100] test(1)),
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [101] mix(mix(coef(4), coef(5), test(4)),
11-26 16:12:02.447 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [102] mix(coef(6), coef(7), test(6)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [103] test(5)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [104] test(3));
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [105] #undef test
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [106] #undef coef
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [107] s = (coeffs.z * s + coeffs.y) * s + coeffs.x;
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [108] color[0] = clamp(s, _7, _8);
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [109] s = sig[1];
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [110] #define test(i) bvec4(s >= _9[i])
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [111] #define coef(i) _a[i]
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [112] coeffs = mix(mix(mix(coef(0), coef(1), test(0)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [113] mix(coef(2), coef(3), test(2)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [114] test(1)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [115] mix(mix(coef(4), coef(5), test(4)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [116] mix(coef(6), coef(7), test(6)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [117] test(5)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [118] test(3));
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [119] #undef test
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [120] #undef coef
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [121] s = (coeffs.z * s + coeffs.y) * s + coeffs.x;
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [122] color[1] = clamp(s, _b, _c);
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [123] s = sig[2];
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [124] #define test(i) bvec4(s >= _d[i])
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [125] #define coef(i) _e[i]
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [126] coeffs = mix(mix(mix(coef(0), coef(1), test(0)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [127] mix(coef(2), coef(3), test(2)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [128] test(1)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [129] mix(mix(coef(4), coef(5), test(4)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [130] mix(coef(6), coef(7), test(6)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [131] test(5)),
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [132] test(3));
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [133] #undef test
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [134] #undef coef
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [135] s = (coeffs.z * s + coeffs.y) * s + coeffs.x;
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [136] color[2] = clamp(s, _f, _10);
11-26 16:12:02.448 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [137] }
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [138] color.rgb = _11 * color.rgb + _12;
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [139] color.rgb = pow(max(color.rgb, 0.0), vec3(1.0/78.84375));
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [140] color.rgb = max(color.rgb - vec3(0.8359375), 0.0)
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [141] / (vec3(18.8515625) - vec3(18.6875) * color.rgb);
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [142] color.rgb = pow(color.rgb, vec3(1.0/0.1593017578125));
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [143] color.rgb = _13 * color.rgb;
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [144] color.rgb = pow(max(color.rgb, 0.0), vec3(0.1593017578125));
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [145] color.rgb = (vec3(0.8359375) + vec3(18.8515625) * color.rgb)
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [146] / (vec3(1.0) + vec3(18.6875) * color.rgb);
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [147] color.rgb = pow(color.rgb, vec3(78.84375));
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [148] }
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [149] // pl_shader_color_map
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [150] {
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [151] // pl_shader_linearize
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [152] color.rgb = max(color.rgb, 0.0);
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [153] color.rgb = pow(color.rgb, vec3(1.0/78.84375));
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [154] color.rgb = max(color.rgb - vec3(0.8359375), 0.0)
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [155] / (vec3(18.8515625) - vec3(18.6875) * color.rgb);
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [156] color.rgb = pow(color.rgb, vec3(1.0/0.1593017578125));
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [157] color.rgb *= vec3(49.26108374384236);
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [158] vec3 lms = _16 * color.rgb;
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [159] vec3 lmspq = 0.0203000009059906 * lms;
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [160] lmspq = pow(max(lmspq, 0.0), vec3(0.1593017578125));
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [161] lmspq = (vec3(0.8359375) + 18.8515625 * lmspq)
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [162] / (vec3(1.0) + 18.6875 * lmspq);
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [163] lmspq = pow(lmspq, vec3(78.84375));
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [164] vec3 ipt = _14 * lmspq;
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [165] float i_orig = ipt.x;
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [166] #define tone_map(x) (_17(_1c * (x) + _1d))
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [167] ipt.x = tone_map(ipt.x);
11-26 16:12:02.449 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [168] vec2 hull = vec2(i_orig, ipt.x);
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [169] hull = ((hull - 6.0) * hull + 9.0) * hull;
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [170] ipt.yz *= min(i_orig / ipt.x, hull.y / hull.x);
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [171] lmspq = _15 * ipt;
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [172] lms = pow(max(lmspq, 0.0), vec3(1.0/78.84375));
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [173] lms = max(lms - vec3(0.8359375), 0.0)
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [174] / (vec3(18.8515625) - 18.6875 * lms);
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [175] lms = pow(lms, vec3(1.0/0.1593017578125));
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [176] lms *= 49.261085510253906;
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [177] color.rgb = _1e * lms;
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [178] #undef tone_map
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [179] // pl_shader_delinearize
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [180] color.rgb = max(color.rgb, 0.0);
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [181] color.rgb = pow(_1f * color.rgb, vec3(1.0/2.4)) - vec3(_20);
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [182] }
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [183] // pl_shader_encode_color
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [184] {
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [185] color.rgb *= vec3(color.a);
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [186] }
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [187] color *= vec4(1.0 / _21);
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [188] vec4 _22 = color;
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [189] color = vec4(0.0, 0.0, 0.0, 1.0);
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [190] color[0] = _22[0];
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [191] color[1] = _22[1];
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [192] color[2] = _22[2];
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [193] color[3] = _22[3];
11-26 16:12:02.450 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [194] return color;
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [195] }
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [196]
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [197] void main() {
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [198] out_color = _1();
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] [199] }
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] Failed creating render pass for dispatch
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] Failed rendering image!
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next:error] Failed rendering frame!
11-26 16:12:02.451 26193 26349 V mpv : [cplayer:v] first video frame after restart shown
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] libplacebo compiled without LittleCMS 2 support!
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next/libplacebo:error] Failed rendering image!
11-26 16:12:02.451 26193 26349 V mpv : [vo/gpu-next:error] Failed rendering frame!