Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 24.847811] HW.GPU <Error> video_core\gpu.cpp:CallMethod:148: Special buffer methods other than Bind are not implemented
- [ 24.847819] HW.GPU <Warning> video_core\engines\maxwell_dma.cpp:HandleCopy:37: Requested a DMA copy
- [ 24.847977] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. State(s) are invalid: program pipeline config.
- [ 24.848210] HW.GPU <Warning> video_core\shader\decode\memory.cpp:DecodeMemory:241: TEXS.NODEP implementation is incomplete
- [ 24.850576] Render.OpenGL <Error> video_core\renderer_opengl\gl_shader_util.cpp:LoadShader:44: Error compiling fragment shader:
- 0(99) : error C0000: syntax error, unexpected ';', expecting "::" at token ";"
- 0(101) : error C0000: syntax error, unexpected ';', expecting "::" at token ";"
- [ 24.850810] Render.OpenGL <Error> video_core\renderer_opengl\gl_shader_util.h:LoadProgram:79: Error linking shader:
- Fragment info
- -------------
- 0(99) : error C0000: syntax error, unexpected ';', expecting "::" at token ";"
- 0(101) : error C0000: syntax error, unexpected ';', expecting "::" at token ";"
- (0) : error C2003: incompatible options for link
- [ 24.850825] Render.OpenGL <Info> video_core\renderer_opengl\gl_shader_util.h:LogShaderSource:32: Shader source #version 430 core
- #define EMULATION_UBO_BINDING 2
- #define SAMPLER_BINDING_0 0
- #extension GL_ARB_separate_shader_objects : enable
- // Shader Unique Id: FS9ae16a3b2f90404f
- #define MAX_CONSTBUFFER_ELEMENTS 4096
- #define MAX_GLOBALMEMORY_ELEMENTS 16384
- #define ftoi floatBitsToInt
- #define ftou floatBitsToUint
- #define itof intBitsToFloat
- #define utof uintBitsToFloat
- float fromHalf2(vec2 pair) {
- return utof(packHalf2x16(pair));
- }
- vec2 toHalf2(float value) {
- return unpackHalf2x16(ftou(value));
- }
- layout (location = 0) out vec4 FragColor0;
- layout (location = 1) out vec4 FragColor1;
- layout (location = 2) out vec4 FragColor2;
- layout (location = 3) out vec4 FragColor3;
- layout (location = 4) out vec4 FragColor4;
- layout (location = 5) out vec4 FragColor5;
- layout (location = 6) out vec4 FragColor6;
- layout (location = 7) out vec4 FragColor7;
- layout (location = 0) in vec4 position;
- layout (std140, binding = EMULATION_UBO_BINDING) uniform fs_config {
- vec4 viewport_flip;
- uvec4 config_pack; // instance_id, flip_stage, y_direction, padding
- uvec4 alpha_test;
- };
- bool AlphaFunc(in float value) {
- float ref = uintBitsToFloat(alpha_test[2]);
- switch (alpha_test[1]) {
- case 1:
- return false;
- case 2:
- return value < ref;
- case 3:
- return value == ref;
- case 4:
- return value <= ref;
- case 5:
- return value > ref;
- case 6:
- return value != ref;
- case 7:
- return value >= ref;
- case 8:
- return true;
- default:
- return false;
- }
- }
- float gpr_0_fragment = 0;
- float gpr_1_fragment = 0;
- float gpr_2_fragment = 0;
- float gpr_3_fragment = 0;
- float gpr_4_fragment = 0;
- float gpr_5_fragment = 0;
- float gpr_6_fragment = 0;
- float gpr_7_fragment = 0;
- float gpr_8_fragment = 0;
- float gpr_256_fragment = 0;
- float gpr_257_fragment = 0;
- bool zero_flag_fragment = false;
- bool sign_flag_fragment = false;
- bool carry_flag_fragment = false;
- bool overflow_flag_fragment = false;
- layout (binding = SAMPLER_BINDING_0) uniform sampler2D sampler_0_fragment;
- void execute_fragment() {
- uint jmp_to = 10u;
- uint flow_stack[20];
- uint flow_stack_top = 0u;
- while (true) {
- switch (jmp_to) {
- case 0xau: {
- // 11: MOV32_IMM (0x0103f0000007f003)
- gpr_3_fragment = utof(0x3f000000u);
- // 12: IPA (0xe003ff87cff7ff02)
- gpr_2_fragment = 1.0f;
- // 13: MUFU (0x5080000000470202)
- float tmp1 = (utof(0x3f800000u) / gpr_2_fragment);
- gpr_2_fragment = tmp1;
- // 15: IPA (0xe043ffb00027ff00)
- gpr_0_fragment = ;
- // 16: IPA (0xe043ffb04027ff01)
- gpr_1_fragment = ;
- // 17: TEXS (0xd832008ff0170000)
- gpr_256_fragment = texture(sampler_0_fragment, vec2(gpr_0_fragment, gpr_1_fragment)).x;
- gpr_257_fragment = texture(sampler_0_fragment, vec2(gpr_0_fragment, gpr_1_fragment)).y;
- gpr_0_fragment = gpr_256_fragment;
- gpr_1_fragment = gpr_257_fragment;
- // 19: FFMA_IMM (0x32a001c37f070004)
- float tmp2 = fma(gpr_0_fragment, utof(0x437f0000u), gpr_3_fragment);
- gpr_4_fragment = tmp2;
- // 20: FFMA_IMM (0x32a001c37f070105)
- float tmp3 = fma(gpr_1_fragment, utof(0x437f0000u), gpr_3_fragment);
- gpr_5_fragment = tmp3;
- // 21: F2F_R (0x5ca8148000470a04)
- float tmp4 = floor(gpr_4_fragment);
- gpr_4_fragment = tmp4;
- // 23: F2F_R (0x5ca8148000570a05)
- float tmp5 = floor(gpr_5_fragment);
- gpr_5_fragment = tmp5;
- // 24: FMUL_IMM (0x3868103d80070406)
- float tmp6 = (gpr_4_fragment * utof(0x3d800000u));
- gpr_6_fragment = tmp6;
- // 25: FMUL_IMM (0x3868103d80070507)
- float tmp7 = (gpr_5_fragment * utof(0x3d800000u));
- gpr_7_fragment = tmp7;
- // 27: F2F_R (0x5ca8148000670a03)
- float tmp8 = floor(gpr_6_fragment);
- gpr_3_fragment = tmp8;
- // 28: F2F_R (0x5ca8148000770a08)
- float tmp9 = floor(gpr_7_fragment);
- gpr_8_fragment = tmp9;
- // 29: FADD_R (0x5c58300000370602)
- float tmp10 = (-(gpr_3_fragment));
- float tmp11 = (gpr_6_fragment + tmp10);
- gpr_2_fragment = tmp11;
- // 31: FADD_R (0x5c58300000870700)
- float tmp12 = (-(gpr_8_fragment));
- float tmp13 = (gpr_7_fragment + tmp12);
- gpr_0_fragment = tmp13;
- // 32: FMUL32_IMM (0x1ea3d88888970301)
- float tmp14 = (gpr_3_fragment * utof(0x3d888889u));
- gpr_1_fragment = clamp(tmp14, utof(0u), utof(0x3f800000u));
- // 33: FMUL32_IMM (0x1ea3d88888970803)
- float tmp15 = (gpr_8_fragment * utof(0x3d888889u));
- gpr_3_fragment = clamp(tmp15, utof(0u), utof(0x3f800000u));
- // 35: FMUL32_IMM (0x1ea3f88888970202)
- float tmp16 = (gpr_2_fragment * utof(0x3f888889u));
- gpr_2_fragment = clamp(tmp16, utof(0u), utof(0x3f800000u));
- // 36: FMUL32_IMM (0x1ea3f88888970000)
- float tmp17 = (gpr_0_fragment * utof(0x3f888889u));
- gpr_0_fragment = clamp(tmp17, utof(0u), utof(0x3f800000u));
- // 37: EXIT (0xe30000000007000f)
- if (alpha_test[0] != 0) {
- if (!AlphaFunc(gpr_3_fragment)) discard;
- }
- FragColor0[0] = gpr_0_fragment;
- FragColor0[1] = gpr_1_fragment;
- FragColor0[2] = gpr_2_fragment;
- FragColor0[3] = gpr_3_fragment;
- return;
- }
- default: return;
- }
- }
- }
- void main() {
- execute_fragment();
- }
- [ 24.851025] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. <program> object is not successfully linked.
- [ 24.851031] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. <program> object is not successfully linked.
- [ 24.851068] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. State(s) are invalid: program pipeline config.
- [ 24.851971] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. <program> object is not successfully linked.
- [ 24.851990] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. <program> object is not successfully linked.
- [ 24.852020] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. State(s) are invalid: program pipeline config.
- [ 24.852923] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. State(s) are invalid: program pipeline config.
- [ 24.853830] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. State(s) are invalid: program pipeline config.
- [ 24.854834] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. State(s) are invalid: program pipeline config.
- [ 24.855576] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. <program> object is not successfully linked.
- [ 24.855584] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. <program> object is not successfully linked.
- [ 24.855602] Render.OpenGL <Critical> video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:495: API ERROR 1282: GL_INVALID_OPERATION error generated. State(s) are invalid: program pipeline config.
- [ 24.856425] HW.GPU <Error> video_core\gpu.cpp:CallMethod:148: Special buffer methods other than Bind are not implemented
- [ 24.856430] HW.GPU <Error> video_core\gpu.cpp:CallMethod:148: Special buffer methods other than Bind are not implemented
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement