Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 410 core
- // Stubbed. Maxwell geometry shaders don't inform input geometry type
- layout(triangles) in;
- layout(triangle_strip, max_vertices = 3) out;
- vec4 attr0[3];
- vec4 attr1[3];
- in Vertex {
- vec2 in_attr0;
- float in_attr1;
- } block_in[];
- layout (location = 15) out vec4 position;
- layout (location = 0) out vec2 out_attr0;
- layout (location = 1) out float out_attr1;
- float gpr0;
- float gpr1;
- float gpr2;
- float gpr3;
- float gpr4;
- float gpr5;
- float gpr6;
- float gpr7;
- float gpr8;
- float gpr9;
- float gpr10;
- float gpr11;
- float gpr12;
- bool pred0;
- void program() {
- // 0x0000000000000008: 0x1c0000000017ff0b Iadd_I32
- gpr11 = intBitsToFloat(0 + 1);
- // 0x0000000000000010: 0xf0c8000001d7000a Mov_S
- // Stubbed.
- gpr10 = 0;
- // 0x0000000000000018: 0x5f047f8020a70a07 Vmad
- // Stubbed. Instruction is reduced to a * b + c
- gpr7 = intBitsToFloat((floatBitsToInt(gpr10) * floatBitsToInt(gpr10)) + 0);
- // 0x0000000000000028: 0xefd0000000070704 Isberd
- // Stubbed.
- gpr4 = gpr7;
- // 0x0000000000000030: 0x50f41ba06ff70a07 ???
- // 0x0000000000000038: 0x5f04058020a70a0c Vmad
- // Stubbed. Instruction is reduced to a * b + c
- gpr12 = intBitsToFloat((floatBitsToInt(gpr10) * floatBitsToInt(gpr10)) + floatBitsToInt(gpr11));
- // 0x0000000000000048: 0xefd0000000070c08 Isberd
- // Stubbed.
- gpr8 = gpr12;
- // 0x0000000000000050: 0x010800000000f004 Mov_I32
- if (pred0) {
- gpr4 = 0;
- }
- // 0x0000000000000058: 0xefd802000707ff01 Ld_A
- gpr1 = gl_Position.x;
- // 0x0000000000000068: 0xefd802000747ff02 Ld_A
- gpr2 = gl_Position.y;
- // 0x0000000000000070: 0xefd802000787ff03 Ld_A
- gpr3 = gl_Position.z;
- // 0x0000000000000078: 0xefd8020007c7ff05 Ld_A
- gpr5 = gl_Position.w;
- // 0x0000000000000088: 0xefd802000807ff06 Ld_A
- gpr6 = attr0[floatBitsToInt(gpr4)].x;
- // 0x0000000000000090: 0xefd802000847ff07 Ld_A
- gpr7 = attr0[floatBitsToInt(gpr4)].y;
- // 0x0000000000000098: 0xefd802000907ff09 Ld_A
- gpr9 = attr1[floatBitsToInt(gpr4)].x;
- // 0x00000000000000a8: 0x50f41ba060b70a07 ???
- // 0x00000000000000b0: 0x1c0000000027ff0b Iadd_I32
- gpr11 = intBitsToFloat(0 + 2);
- // 0x00000000000000b8: 0x5c9807800ff70000 Mov_R
- gpr0 = 0;
- // 0x00000000000000c8: 0x5f04058020a70a0c Vmad
- // Stubbed. Instruction is reduced to a * b + c
- gpr12 = intBitsToFloat((floatBitsToInt(gpr10) * floatBitsToInt(gpr10)) + floatBitsToInt(gpr11));
- // 0x00000000000000d0: 0xeff000000707ff01 St_A
- gl_Position.x = gpr1;
- // 0x00000000000000d8: 0x010800000000f008 Mov_I32
- if (pred0) {
- gpr8 = 0;
- }
- // 0x00000000000000e8: 0xefd0000000070c04 Isberd
- // Stubbed.
- gpr4 = gpr12;
- // 0x00000000000000f0: 0x50f41ba060b70a07 ???
- // 0x00000000000000f8: 0xeff000000747ff02 St_A
- gl_Position.y = gpr2;
- // 0x0000000000000108: 0xeff000000787ff03 St_A
- gl_Position.z = gpr3;
- // 0x0000000000000110: 0xeff0000007c7ff05 St_A
- gl_Position.w = gpr5;
- // 0x0000000000000118: 0xeff000000807ff06 St_A
- attr0[floatBitsToInt(gpr0)].x = gpr6;
- // 0x0000000000000128: 0xeff000000847ff07 St_A
- attr0[floatBitsToInt(gpr0)].y = gpr7;
- // 0x0000000000000130: 0xeff000000647ff09 St_A
- gl_Layer = floatBitsToInt(gpr9);
- // 0x0000000000000138: 0xeff000000907ff09 St_A
- attr1[floatBitsToInt(gpr0)].x = gpr9;
- // 0x0000000000000148: 0xfbe000800ff70000 Out_R
- out_attr0 = attr0[0].xy;
- out_attr1 = attr1[0].x;
- position = gl_Position;
- position.w = 1;
- EmitVertex();
- // 0x0000000000000150: 0xefd804000707ff01 Ld_A
- gpr1 = gl_Position.x;
- // 0x0000000000000158: 0xefd804000747ff02 Ld_A
- gpr2 = gl_Position.y;
- // 0x0000000000000168: 0xefd804000787ff03 Ld_A
- gpr3 = gl_Position.z;
- // 0x0000000000000170: 0xefd8040007c7ff05 Ld_A
- gpr5 = gl_Position.w;
- // 0x0000000000000178: 0xefd804000807ff06 Ld_A
- gpr6 = attr0[floatBitsToInt(gpr8)].x;
- // 0x0000000000000188: 0xefd804000847ff07 Ld_A
- gpr7 = attr0[floatBitsToInt(gpr8)].y;
- // 0x0000000000000190: 0xefd804000907ff09 Ld_A
- gpr9 = attr1[floatBitsToInt(gpr8)].x;
- // 0x0000000000000198: 0x010800000000f004 Mov_I32
- if (pred0) {
- gpr4 = 0;
- }
- // 0x00000000000001a8: 0xeff000000707ff01 St_A
- gl_Position.x = gpr1;
- // 0x00000000000001b0: 0xeff000000747ff02 St_A
- gl_Position.y = gpr2;
- // 0x00000000000001b8: 0xeff000000787ff03 St_A
- gl_Position.z = gpr3;
- // 0x00000000000001c8: 0xeff0000007c7ff05 St_A
- gl_Position.w = gpr5;
- // 0x00000000000001d0: 0xeff000000807ff06 St_A
- attr0[floatBitsToInt(gpr0)].x = gpr6;
- // 0x00000000000001d8: 0xeff000000847ff07 St_A
- attr0[floatBitsToInt(gpr0)].y = gpr7;
- // 0x00000000000001e8: 0xeff000000647ff09 St_A
- gl_Layer = floatBitsToInt(gpr9);
- // 0x00000000000001f0: 0xeff000000907ff09 St_A
- attr1[floatBitsToInt(gpr0)].x = gpr9;
- // 0x00000000000001f8: 0xfbe000800ff70000 Out_R
- out_attr0 = attr0[0].xy;
- out_attr1 = attr1[0].x;
- position = gl_Position;
- position.w = 1;
- EmitVertex();
- // 0x0000000000000208: 0xefd802000707ff01 Ld_A
- gpr1 = gl_Position.x;
- // 0x0000000000000210: 0xefd802000747ff02 Ld_A
- gpr2 = gl_Position.y;
- // 0x0000000000000218: 0xefd802000787ff03 Ld_A
- gpr3 = gl_Position.z;
- // 0x0000000000000228: 0xefd8020007c7ff05 Ld_A
- gpr5 = gl_Position.w;
- // 0x0000000000000230: 0xefd802000807ff06 Ld_A
- gpr6 = attr0[floatBitsToInt(gpr4)].x;
- // 0x0000000000000238: 0xefd802000847ff07 Ld_A
- gpr7 = attr0[floatBitsToInt(gpr4)].y;
- // 0x0000000000000248: 0xefd802000907ff0a Ld_A
- gpr10 = attr1[floatBitsToInt(gpr4)].x;
- // 0x0000000000000250: 0xeff000000707ff01 St_A
- gl_Position.x = gpr1;
- // 0x0000000000000258: 0xeff000000747ff02 St_A
- gl_Position.y = gpr2;
- // 0x0000000000000268: 0xeff000000787ff03 St_A
- gl_Position.z = gpr3;
- // 0x0000000000000270: 0xeff0000007c7ff05 St_A
- gl_Position.w = gpr5;
- // 0x0000000000000278: 0xeff000000807ff06 St_A
- attr0[floatBitsToInt(gpr0)].x = gpr6;
- // 0x0000000000000288: 0xeff000000847ff07 St_A
- attr0[floatBitsToInt(gpr0)].y = gpr7;
- // 0x0000000000000290: 0xeff000000647ff0a St_A
- gl_Layer = floatBitsToInt(gpr10);
- // 0x0000000000000298: 0xeff000000907ff0a St_A
- attr1[floatBitsToInt(gpr0)].x = gpr10;
- // 0x00000000000002a8: 0xfbe000800ff70000 Out_R
- out_attr0 = attr0[0].xy;
- out_attr1 = attr1[0].x;
- position = gl_Position;
- position.w = 1;
- EmitVertex();
- // 0x00000000000002b0: 0xe30000000007000f Exit
- return;
- }
- void main() {
- attr0[0].xy = block_in[0].in_attr0;
- attr0[1].xy = block_in[1].in_attr0;
- attr0[2].xy = block_in[2].in_attr0;
- attr1[0].x = block_in[0].in_attr1;
- attr1[1].x = block_in[1].in_attr1;
- attr1[2].x = block_in[2].in_attr1;
- program();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement