Skip to content

Instantly share code, notes, and snippets.

@FernandoS27
Created June 16, 2019 02:26
Show Gist options
  • Save FernandoS27/c36623c7442896165cde0727e3164ac3 to your computer and use it in GitHub Desktop.
Save FernandoS27/c36623c7442896165cde0727e3164ac3 to your computer and use it in GitHub Desktop.
#version 430 core
#extension GL_ARB_separate_shader_objects : enable
#define EMULATION_UBO_BINDING 2
#define CBUF_BINDING_1 3
#define CBUF_BINDING_3 4
#define CBUF_BINDING_4 5
#define SAMPLER_BINDING_0 0
#define SAMPLER_BINDING_1 1
#define SAMPLER_BINDING_2 2
#define SAMPLER_BINDING_3 3
// Shader Unique Id: FS6d4c735678949784
#define MAX_CONSTBUFFER_ELEMENTS 4096
#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));
}
bvec2 halfFloatNanComparison(bvec2 comparison, vec2 pair1, vec2 pair2) {
bvec2 is_nan1 = isnan(pair1);
bvec2 is_nan2 = isnan(pair2);
return bvec2(comparison.x || is_nan1.x || is_nan2.x, comparison.y || is_nan1.y || is_nan2.y);
}
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 (std140, binding = EMULATION_UBO_BINDING) uniform fs_config {
vec4 viewport_flip;
uvec4 config_pack; // instance_id, flip_stage, y_direction, padding
};
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_9_fragment = 0;
float gpr_10_fragment = 0;
float gpr_11_fragment = 0;
float gpr_12_fragment = 0;
float gpr_13_fragment = 0;
float gpr_14_fragment = 0;
float gpr_15_fragment = 0;
float gpr_16_fragment = 0;
float gpr_17_fragment = 0;
float gpr_18_fragment = 0;
float gpr_19_fragment = 0;
float gpr_20_fragment = 0;
float gpr_21_fragment = 0;
float gpr_22_fragment = 0;
float gpr_23_fragment = 0;
float gpr_256_fragment = 0;
float gpr_257_fragment = 0;
float gpr_258_fragment = 0;
float gpr_259_fragment = 0;
bool pred_0_fragment = false;
bool pred_1_fragment = false;
bool pred_2_fragment = false;
bool pred_3_fragment = false;
bool zero_flag_fragment = false;
bool sign_flag_fragment = false;
bool carry_flag_fragment = false;
bool overflow_flag_fragment = false;
layout (location = 0) in vec4 input_attr_0_fragment;
layout (location = 1) in vec4 input_attr_1_fragment;
layout (location = 2) in vec4 input_attr_2_fragment;
layout (std140, binding = CBUF_BINDING_1) uniform cbuf_block_1_fragment {
vec4 cbuf_1_fragment[MAX_CONSTBUFFER_ELEMENTS];
};
layout (std140, binding = CBUF_BINDING_3) uniform cbuf_block_3_fragment {
vec4 cbuf_3_fragment[MAX_CONSTBUFFER_ELEMENTS];
};
layout (std140, binding = CBUF_BINDING_4) uniform cbuf_block_4_fragment {
vec4 cbuf_4_fragment[MAX_CONSTBUFFER_ELEMENTS];
};
layout (binding = SAMPLER_BINDING_0) uniform sampler2D sampler_0_fragment;
layout (binding = SAMPLER_BINDING_1) uniform sampler2D sampler_1_fragment;
layout (binding = SAMPLER_BINDING_2) uniform sampler2DArrayShadow sampler_2_fragment;
layout (binding = SAMPLER_BINDING_3) uniform sampler3D sampler_3_fragment;
void execute_fragment() {
uint jmp_to = 10u;
uint flow_stack[20];
uint flow_stack_top = 0u;
while (true) {
switch (jmp_to) {
case 0xau: {
}
case 0xbu: {
// 11: MOV32_IMM (0x010010000017f003)
gpr_3_fragment = utof(0x1000001u);
}
case 0xcu: {
// 12: IPA (0xe003ff87cff7ff06)
gpr_6_fragment = 1.0f;
}
case 0xdu: {
// 13: MUFU (0x5080000000470606)
float tmp1 = (utof(0x3f800000u) / gpr_6_fragment);
gpr_6_fragment = tmp1;
}
case 0xeu: {
}
case 0xfu: {
// 15: IPA (0xe043ff890067ff04)
float tmp2 = (input_attr_1_fragment.x * gpr_6_fragment);
gpr_4_fragment = tmp2;
}
case 0x10u: {
// 16: IPA (0xe043ff894067ff05)
float tmp3 = (input_attr_1_fragment.y * gpr_6_fragment);
gpr_5_fragment = tmp3;
}
case 0x11u: {
// 17: TEXS (0xd8300080a0570408)
gpr_256_fragment = texture(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).x;
gpr_257_fragment = texture(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).y;
gpr_258_fragment = texture(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).z;
gpr_259_fragment = texture(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).w;
gpr_8_fragment = gpr_256_fragment;
gpr_9_fragment = gpr_257_fragment;
gpr_10_fragment = gpr_258_fragment;
gpr_11_fragment = gpr_259_fragment;
}
case 0x12u: {
}
case 0x13u: {
// 19: MOV32_IMM (0x010ff0000ff7f002)
gpr_2_fragment = utof(0xff0000ffu);
}
case 0x14u: {
// 20: FMUL_C (0x4c68100c00370b07)
float tmp4 = (gpr_11_fragment * cbuf_3_fragment[0][3]);
gpr_7_fragment = tmp4;
}
case 0x15u: {
// 21: FSETP_R (0x5bb283800ff70717)
pred_2_fragment = ((gpr_7_fragment == 0) && true);
}
case 0x16u: {
}
case 0x17u: {
// 23: TLD4 (0xcbb80087a02a0400)
if (!(pred_2_fragment)) {
gpr_256_fragment = textureGather(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).x;
gpr_257_fragment = textureGather(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).y;
gpr_258_fragment = textureGather(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).z;
gpr_259_fragment = textureGather(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).w;
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
gpr_2_fragment = gpr_258_fragment;
gpr_3_fragment = gpr_259_fragment;
}
}
case 0x18u: {
// 24: MOV_C (0x4c98078c0167000b)
gpr_11_fragment = cbuf_3_fragment[5][2];
}
case 0x19u: {
// 25: SSY (0xe290000074000000)
flow_stack[flow_stack_top++] = 0x102u;
}
case 0x1au: {
}
case 0x1bu: {
// 27: ISETP_IMM (0x3665038000170b0f)
pred_1_fragment = ((ftoi(gpr_11_fragment) == ftoi(utof(1u))) && true);
}
case 0x1cu: {
// 28: PSETP (0x50900380e0077007)
pred_0_fragment = ((true && true) && true);
}
case 0x1du: {
// 29: MOV_R (0x5c9807800ff7000b)
gpr_11_fragment = 0;
}
case 0x1eu: {
}
case 0x1fu: {
// 31: MOV_R (0x5c9807800ff7000f)
gpr_15_fragment = 0;
}
case 0x20u: {
// 32: MOV_R (0x5c9807800ff7000c)
gpr_12_fragment = 0;
}
case 0x21u: {
// 33: MOV_R (0x5c9807800ff7000d)
gpr_13_fragment = 0;
}
case 0x22u: {
}
case 0x23u: {
// 35: MOV_R (0x5c9807800ff7000e)
gpr_14_fragment = 0;
}
case 0x24u: {
// 36: FMUL_C (0x4c68100c00070808)
float tmp5 = (gpr_8_fragment * cbuf_3_fragment[0][0]);
gpr_8_fragment = tmp5;
}
case 0x25u: {
// 37: FMUL_C (0x4c68100c00170909)
float tmp6 = (gpr_9_fragment * cbuf_3_fragment[0][1]);
gpr_9_fragment = tmp6;
}
case 0x26u: {
}
case 0x27u: {
// 39: FMUL_C (0x4c68100c00270a0a)
float tmp7 = (gpr_10_fragment * cbuf_3_fragment[0][2]);
gpr_10_fragment = tmp7;
}
case 0x28u: {
// 40: BRA (0xe24000002a89000f)
if (!(pred_1_fragment)) {
jmp_to = 0x7eu;
break;
}
}
case 0x29u: {
// 41: BRA (0xe2400000040a000f)
if (!(pred_2_fragment)) {
jmp_to = 0x32u;
break;
}
}
case 0x2au: {
}
case 0x2bu: {
// 43: MOV_R (0x5c9807800ff70000)
gpr_0_fragment = 0;
}
case 0x2cu: {
// 44: KIL (0xe33000000007000f)
if (true) {
discard;
}
}
case 0x2du: {
// 45: MOV_R (0x5c9807800ff70001)
gpr_1_fragment = 0;
}
case 0x2eu: {
}
case 0x2fu: {
// 47: MOV_R (0x5c9807800ff70002)
gpr_2_fragment = 0;
}
case 0x30u: {
// 48: MOV_R (0x5c9807800ff70003)
gpr_3_fragment = 0;
}
case 0x31u: {
// 49: EXIT (0xe30000000007000f)
FragColor0[0] = gpr_0_fragment;
FragColor0[1] = gpr_1_fragment;
FragColor0[2] = gpr_2_fragment;
FragColor0[3] = gpr_3_fragment;
return;
}
case 0x32u: {
}
case 0x33u: {
// 51: FSETP_C (0x4bb1838c01070407)
pred_0_fragment = ((gpr_4_fragment < cbuf_3_fragment[4][0]) && true);
}
case 0x34u: {
// 52: SSY (0xe290000005800000)
flow_stack[flow_stack_top++] = 0x40u;
}
case 0x35u: {
// 53: MOV_R (0x5c9807800ff00000)
if (pred_0_fragment) {
gpr_0_fragment = 0;
}
}
case 0x36u: {
}
case 0x37u: {
// 55: MOV_R (0x5c9807800ff00001)
if (pred_0_fragment) {
gpr_1_fragment = 0;
}
}
case 0x38u: {
// 56: MOV_R (0x5c9807800ff00003)
if (pred_0_fragment) {
gpr_3_fragment = 0;
}
}
case 0x39u: {
// 57: SYNC (0xf0f800000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x3au: {
}
case 0x3bu: {
// 59: FADD_C (0x4c58300c0147040c)
float tmp8 = (-(cbuf_3_fragment[5][0]));
float tmp9 = (gpr_4_fragment + tmp8);
gpr_12_fragment = tmp9;
}
case 0x3cu: {
// 60: FSETP_C (0x4bb1838c01070c07)
pred_0_fragment = ((gpr_12_fragment < cbuf_3_fragment[4][0]) && true);
}
case 0x3du: {
// 61: MOV_R (0x5c9807800ff00000)
if (pred_0_fragment) {
gpr_0_fragment = 0;
}
}
case 0x3eu: {
}
case 0x3fu: {
// 63: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x40u: {
// 64: FSETP_C (0x4bb1838c01170507)
pred_0_fragment = ((gpr_5_fragment < cbuf_3_fragment[4][1]) && true);
}
case 0x41u: {
// 65: SSY (0xe290000005800000)
flow_stack[flow_stack_top++] = 0x4du;
}
case 0x42u: {
}
case 0x43u: {
// 67: MOV_R (0x5c9807800ff00001)
if (pred_0_fragment) {
gpr_1_fragment = 0;
}
}
case 0x44u: {
// 68: SYNC (0xf0f800000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x45u: {
// 69: FADD_C (0x4c58300c0157050c)
float tmp10 = (-(cbuf_3_fragment[5][1]));
float tmp11 = (gpr_5_fragment + tmp10);
gpr_12_fragment = tmp11;
}
case 0x46u: {
}
case 0x47u: {
// 71: FSETP_C (0x4bb1838c01170c07)
pred_0_fragment = ((gpr_12_fragment < cbuf_3_fragment[4][1]) && true);
}
case 0x48u: {
// 72: MOV_R (0x5c9807800ff00000)
if (pred_0_fragment) {
gpr_0_fragment = 0;
}
}
case 0x49u: {
// 73: MOV_R (0x5c9807800ff00001)
if (pred_0_fragment) {
gpr_1_fragment = 0;
}
}
case 0x4au: {
}
case 0x4bu: {
// 75: MOV_R (0x5c9807800ff00002)
if (pred_0_fragment) {
gpr_2_fragment = 0;
}
}
case 0x4cu: {
// 76: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x4du: {
// 77: FSETP_C (0x4bb4838c01270407)
pred_0_fragment = ((gpr_4_fragment > cbuf_3_fragment[4][2]) && true);
}
case 0x4eu: {
}
case 0x4fu: {
// 79: SSY (0xe290000005000000)
flow_stack[flow_stack_top++] = 0x5au;
}
case 0x50u: {
// 80: MOV_R (0x5c9807800ff00001)
if (pred_0_fragment) {
gpr_1_fragment = 0;
}
}
case 0x51u: {
// 81: MOV_R (0x5c9807800ff00002)
if (pred_0_fragment) {
gpr_2_fragment = 0;
}
}
case 0x52u: {
}
case 0x53u: {
// 83: MOV_R (0x5c9807800ff00003)
if (pred_0_fragment) {
gpr_3_fragment = 0;
}
}
case 0x54u: {
// 84: SYNC (0xf0f800000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x55u: {
// 85: FADD_C (0x4c58100c01470404)
float tmp12 = (gpr_4_fragment + cbuf_3_fragment[5][0]);
gpr_4_fragment = tmp12;
}
case 0x56u: {
}
case 0x57u: {
// 87: FSETP_C (0x4bb4838c01270407)
pred_0_fragment = ((gpr_4_fragment > cbuf_3_fragment[4][2]) && true);
}
case 0x58u: {
// 88: MOV_R (0x5c9807800ff00002)
if (pred_0_fragment) {
gpr_2_fragment = 0;
}
}
case 0x59u: {
// 89: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x5au: {
}
case 0x5bu: {
// 91: FSETP_C (0x4bb4838c01370507)
pred_0_fragment = ((gpr_5_fragment > cbuf_3_fragment[4][3]) && true);
}
case 0x5cu: {
// 92: SSY (0xe290000005800000)
flow_stack[flow_stack_top++] = 0x68u;
}
case 0x5du: {
// 93: MOV_R (0x5c9807800ff00000)
if (pred_0_fragment) {
gpr_0_fragment = 0;
}
}
case 0x5eu: {
}
case 0x5fu: {
// 95: MOV_R (0x5c9807800ff00002)
if (pred_0_fragment) {
gpr_2_fragment = 0;
}
}
case 0x60u: {
// 96: MOV_R (0x5c9807800ff00003)
if (pred_0_fragment) {
gpr_3_fragment = 0;
}
}
case 0x61u: {
// 97: SYNC (0xf0f800000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x62u: {
}
case 0x63u: {
// 99: FADD_C (0x4c58100c01570505)
float tmp13 = (gpr_5_fragment + cbuf_3_fragment[5][1]);
gpr_5_fragment = tmp13;
}
case 0x64u: {
// 100: FSETP_C (0x4bb4838c01370507)
pred_0_fragment = ((gpr_5_fragment > cbuf_3_fragment[4][3]) && true);
}
case 0x65u: {
// 101: MOV_R (0x5c9807800ff00003)
if (pred_0_fragment) {
gpr_3_fragment = 0;
}
}
case 0x66u: {
}
case 0x67u: {
// 103: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x68u: {
// 104: FSETP_R (0x5bb483800ff70107)
pred_0_fragment = ((gpr_1_fragment > 0) && true);
}
case 0x69u: {
// 105: FSETP_R (0x5bb480000ff70007)
pred_0_fragment = ((gpr_0_fragment > 0) && pred_0_fragment);
}
case 0x6au: {
}
case 0x6bu: {
// 107: FSETP_R (0x5bb480000ff70207)
pred_0_fragment = ((gpr_2_fragment > 0) && pred_0_fragment);
}
case 0x6cu: {
// 108: FSETP_R (0x5bb480000ff70307)
pred_0_fragment = ((gpr_3_fragment > 0) && pred_0_fragment);
}
case 0x6du: {
// 109: BRA (0xe24000000408000f)
if (!(pred_0_fragment)) {
jmp_to = 0x76u;
break;
}
}
case 0x6eu: {
}
case 0x6fu: {
// 111: MOV_R (0x5c9807800ff70000)
gpr_0_fragment = 0;
}
case 0x70u: {
// 112: KIL (0xe33000000007000f)
if (true) {
discard;
}
}
case 0x71u: {
// 113: MOV_R (0x5c9807800ff70001)
gpr_1_fragment = 0;
}
case 0x72u: {
}
case 0x73u: {
// 115: MOV_R (0x5c9807800ff70002)
gpr_2_fragment = 0;
}
case 0x74u: {
// 116: MOV_R (0x5c9807800ff70003)
gpr_3_fragment = 0;
}
case 0x75u: {
// 117: EXIT (0xe30000000007000f)
FragColor0[0] = gpr_0_fragment;
FragColor0[1] = gpr_1_fragment;
FragColor0[2] = gpr_2_fragment;
FragColor0[3] = gpr_3_fragment;
return;
}
case 0x76u: {
}
case 0x77u: {
// 119: PSETP (0x50900380e007f007)
pred_0_fragment = ((!(true) && true) && true);
}
case 0x78u: {
// 120: MOV_R (0x5c9807800ff7000f)
gpr_15_fragment = 0;
}
case 0x79u: {
// 121: MOV_R (0x5c9807800ff7000c)
gpr_12_fragment = 0;
}
case 0x7au: {
}
case 0x7bu: {
// 123: MOV_R (0x5c9807800ff7000d)
gpr_13_fragment = 0;
}
case 0x7cu: {
// 124: MOV_R (0x5c9807800ff7000e)
gpr_14_fragment = 0;
}
case 0x7du: {
// 125: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x7eu: {
}
case 0x7fu: {
// 127: FSETP_C (0x4bb1838c0177ff0f)
pred_1_fragment = ((0 < cbuf_3_fragment[5][3]) && true);
}
case 0x80u: {
// 128: BRA (0xe24000003b89000f)
if (!(pred_1_fragment)) {
jmp_to = 0xf8u;
break;
}
}
case 0x81u: {
// 129: FSETP_R (0x5bb283800ff70717)
pred_2_fragment = ((gpr_7_fragment == 0) && true);
}
case 0x82u: {
}
case 0x83u: {
// 131: SSY (0xe290000007000000)
flow_stack[flow_stack_top++] = 0x92u;
}
case 0x84u: {
// 132: PSETP (0x50900380e002700f)
if (pred_2_fragment) {
pred_1_fragment = ((true && true) && true);
}
}
case 0x85u: {
// 133: SYNC (0xf0f800000002000f)
if (pred_2_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x86u: {
}
case 0x87u: {
// 135: FSETP_C (0x4bb1838c01170517)
pred_2_fragment = ((gpr_5_fragment < cbuf_3_fragment[4][1]) && true);
}
case 0x88u: {
// 136: FSETP_C (0x4bb1a10c01070417)
pred_2_fragment = ((gpr_4_fragment < cbuf_3_fragment[4][0]) || pred_2_fragment);
}
case 0x89u: {
// 137: FSETP_C (0x4bb4838c013a051f)
if (!(pred_2_fragment)) {
pred_3_fragment = ((gpr_5_fragment > cbuf_3_fragment[4][3]) && true);
}
}
case 0x8au: {
}
case 0x8bu: {
// 139: PSETP (0x50900380e002700f)
if (pred_2_fragment) {
pred_1_fragment = ((true && true) && true);
}
}
case 0x8cu: {
// 140: FSETP_C (0x4bb4a18c012a040f)
if (!(pred_2_fragment)) {
pred_1_fragment = ((gpr_4_fragment > cbuf_3_fragment[4][2]) || pred_3_fragment);
}
}
case 0x8du: {
// 141: MOV_R (0x5c9807800ff10000)
if (pred_1_fragment) {
gpr_0_fragment = 0;
}
}
case 0x8eu: {
}
case 0x8fu: {
// 143: MOV32_IMM (0x0103f8000009f000)
if (!(pred_1_fragment)) {
gpr_0_fragment = utof(0x3f800000u);
}
}
case 0x90u: {
// 144: FSETP_R (0x5bb283800ff7000f)
pred_1_fragment = ((gpr_0_fragment == 0) && true);
}
case 0x91u: {
// 145: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x92u: {
}
case 0x93u: {
// 147: SYNC (0xf0f800000009000f)
if (!(pred_1_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x94u: {
// 148: MOV32_IMM (0x010ff0000ff7f012)
gpr_18_fragment = utof(0xff0000ffu);
}
case 0x95u: {
// 149: MOV32_IMM (0x010010000017f013)
gpr_19_fragment = utof(0x1000001u);
}
case 0x96u: {
}
case 0x97u: {
// 151: TLD4 (0xcbb80087a1270400)
gpr_256_fragment = textureGather(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).x;
gpr_257_fragment = textureGather(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).y;
gpr_258_fragment = textureGather(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).z;
gpr_259_fragment = textureGather(sampler_0_fragment, vec2(gpr_4_fragment, gpr_5_fragment)).w;
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
gpr_2_fragment = gpr_258_fragment;
gpr_3_fragment = gpr_259_fragment;
}
case 0x98u: {
// 152: FSETP_C (0x4bb1838c0107040f)
pred_1_fragment = ((gpr_4_fragment < cbuf_3_fragment[4][0]) && true);
}
case 0x99u: {
// 153: SSY (0xe290000005800000)
flow_stack[flow_stack_top++] = 0xa5u;
}
case 0x9au: {
}
case 0x9bu: {
// 155: MOV_R (0x5c9807800ff10000)
if (pred_1_fragment) {
gpr_0_fragment = 0;
}
}
case 0x9cu: {
// 156: MOV_R (0x5c9807800ff10001)
if (pred_1_fragment) {
gpr_1_fragment = 0;
}
}
case 0x9du: {
// 157: MOV_R (0x5c9807800ff10003)
if (pred_1_fragment) {
gpr_3_fragment = 0;
}
}
case 0x9eu: {
}
case 0x9fu: {
// 159: SYNC (0xf0f800000001000f)
if (pred_1_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0xa0u: {
// 160: FADD_C (0x4c58300c01470410)
float tmp14 = (-(cbuf_3_fragment[5][0]));
float tmp15 = (gpr_4_fragment + tmp14);
gpr_16_fragment = tmp15;
}
case 0xa1u: {
// 161: FSETP_C (0x4bb1838c0107100f)
pred_1_fragment = ((gpr_16_fragment < cbuf_3_fragment[4][0]) && true);
}
case 0xa2u: {
}
case 0xa3u: {
// 163: MOV_R (0x5c9807800ff10000)
if (pred_1_fragment) {
gpr_0_fragment = 0;
}
}
case 0xa4u: {
// 164: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0xa5u: {
// 165: FSETP_C (0x4bb1838c0117050f)
pred_1_fragment = ((gpr_5_fragment < cbuf_3_fragment[4][1]) && true);
}
case 0xa6u: {
}
case 0xa7u: {
// 167: SSY (0xe290000005000000)
flow_stack[flow_stack_top++] = 0xb2u;
}
case 0xa8u: {
// 168: MOV_R (0x5c9807800ff10001)
if (pred_1_fragment) {
gpr_1_fragment = 0;
}
}
case 0xa9u: {
// 169: SYNC (0xf0f800000001000f)
if (pred_1_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0xaau: {
}
case 0xabu: {
// 171: FADD_C (0x4c58300c01570510)
float tmp16 = (-(cbuf_3_fragment[5][1]));
float tmp17 = (gpr_5_fragment + tmp16);
gpr_16_fragment = tmp17;
}
case 0xacu: {
// 172: FSETP_C (0x4bb1838c0117100f)
pred_1_fragment = ((gpr_16_fragment < cbuf_3_fragment[4][1]) && true);
}
case 0xadu: {
// 173: MOV_R (0x5c9807800ff10000)
if (pred_1_fragment) {
gpr_0_fragment = 0;
}
}
case 0xaeu: {
}
case 0xafu: {
// 175: MOV_R (0x5c9807800ff10001)
if (pred_1_fragment) {
gpr_1_fragment = 0;
}
}
case 0xb0u: {
// 176: MOV_R (0x5c9807800ff10002)
if (pred_1_fragment) {
gpr_2_fragment = 0;
}
}
case 0xb1u: {
// 177: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0xb2u: {
}
case 0xb3u: {
// 179: FSETP_C (0x4bb4838c0127040f)
pred_1_fragment = ((gpr_4_fragment > cbuf_3_fragment[4][2]) && true);
}
case 0xb4u: {
// 180: SSY (0xe290000005800000)
flow_stack[flow_stack_top++] = 0xc0u;
}
case 0xb5u: {
// 181: MOV_R (0x5c9807800ff10001)
if (pred_1_fragment) {
gpr_1_fragment = 0;
}
}
case 0xb6u: {
}
case 0xb7u: {
// 183: MOV_R (0x5c9807800ff10002)
if (pred_1_fragment) {
gpr_2_fragment = 0;
}
}
case 0xb8u: {
// 184: MOV_R (0x5c9807800ff10003)
if (pred_1_fragment) {
gpr_3_fragment = 0;
}
}
case 0xb9u: {
// 185: SYNC (0xf0f800000001000f)
if (pred_1_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0xbau: {
}
case 0xbbu: {
// 187: FADD_C (0x4c58100c01470404)
float tmp18 = (gpr_4_fragment + cbuf_3_fragment[5][0]);
gpr_4_fragment = tmp18;
}
case 0xbcu: {
// 188: FSETP_C (0x4bb4838c0127040f)
pred_1_fragment = ((gpr_4_fragment > cbuf_3_fragment[4][2]) && true);
}
case 0xbdu: {
// 189: MOV_R (0x5c9807800ff10002)
if (pred_1_fragment) {
gpr_2_fragment = 0;
}
}
case 0xbeu: {
}
case 0xbfu: {
// 191: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0xc0u: {
// 192: FSETP_C (0x4bb4838c0137050f)
pred_1_fragment = ((gpr_5_fragment > cbuf_3_fragment[4][3]) && true);
}
case 0xc1u: {
// 193: SSY (0xe290000005800000)
flow_stack[flow_stack_top++] = 0xcdu;
}
case 0xc2u: {
}
case 0xc3u: {
// 195: MOV_R (0x5c9807800ff10000)
if (pred_1_fragment) {
gpr_0_fragment = 0;
}
}
case 0xc4u: {
// 196: MOV_R (0x5c9807800ff10002)
if (pred_1_fragment) {
gpr_2_fragment = 0;
}
}
case 0xc5u: {
// 197: MOV_R (0x5c9807800ff10003)
if (pred_1_fragment) {
gpr_3_fragment = 0;
}
}
case 0xc6u: {
}
case 0xc7u: {
// 199: SYNC (0xf0f800000001000f)
if (pred_1_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0xc8u: {
// 200: FADD_C (0x4c58100c01570505)
float tmp19 = (gpr_5_fragment + cbuf_3_fragment[5][1]);
gpr_5_fragment = tmp19;
}
case 0xc9u: {
// 201: FSETP_C (0x4bb4838c0137050f)
pred_1_fragment = ((gpr_5_fragment > cbuf_3_fragment[4][3]) && true);
}
case 0xcau: {
}
case 0xcbu: {
// 203: MOV_R (0x5c9807800ff10003)
if (pred_1_fragment) {
gpr_3_fragment = 0;
}
}
case 0xccu: {
// 204: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0xcdu: {
// 205: FSETP_R (0x5bb483800ff7010f)
pred_1_fragment = ((gpr_1_fragment > 0) && true);
}
case 0xceu: {
}
case 0xcfu: {
// 207: SSY (0xe29000000f000000)
flow_stack[flow_stack_top++] = 0xeeu;
}
case 0xd0u: {
// 208: FSETP_R (0x5bb4a0800ff7000f)
pred_1_fragment = ((gpr_0_fragment > 0) || pred_1_fragment);
}
case 0xd1u: {
// 209: FSETP_R (0x5bb4a0800ff7020f)
pred_1_fragment = ((gpr_2_fragment > 0) || pred_1_fragment);
}
case 0xd2u: {
}
case 0xd3u: {
// 211: FSETP_R (0x5bb4a0800ff7030f)
pred_1_fragment = ((gpr_3_fragment > 0) || pred_1_fragment);
}
case 0xd4u: {
// 212: SYNC (0xf0f800000009000f)
if (!(pred_1_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0xd5u: {
// 213: ISETP_C (0x4b65038c0187ff07)
pred_0_fragment = ((ftoi(0) == ftoi(cbuf_3_fragment[6][0])) && true);
}
case 0xd6u: {
}
case 0xd7u: {
// 215: MOV_C (0x4c98078c01870000)
gpr_0_fragment = cbuf_3_fragment[6][0];
}
case 0xd8u: {
// 216: ISETP_IMM (0x366503800017000f)
pred_1_fragment = ((ftoi(gpr_0_fragment) == ftoi(utof(1u))) && true);
}
case 0xd9u: {
// 217: ISETP_IMM (0x3665038000270017)
pred_2_fragment = ((ftoi(gpr_0_fragment) == ftoi(utof(2u))) && true);
}
case 0xdau: {
}
case 0xdbu: {
// 219: ISETP_IMM (0x366503800037001f)
pred_3_fragment = ((ftoi(gpr_0_fragment) == ftoi(utof(3u))) && true);
}
case 0xdcu: {
// 220: MOV32_IMM (0x0103f8000000f00c)
if (pred_0_fragment) {
gpr_12_fragment = utof(0x3f800000u);
}
}
case 0xddu: {
// 221: MOV32_IMM (0x0103f8000000f00d)
if (pred_0_fragment) {
gpr_13_fragment = utof(0x3f800000u);
}
}
case 0xdeu: {
}
case 0xdfu: {
// 223: PSETP (0x50900380e007f007)
pred_0_fragment = ((!(true) && true) && true);
}
case 0xe0u: {
// 224: MOV32_IMM (0x0103f8000007f00f)
gpr_15_fragment = utof(0x3f800000u);
}
case 0xe1u: {
// 225: MOV_C (0x4c98078c0177000e)
gpr_14_fragment = cbuf_3_fragment[5][3];
}
case 0xe2u: {
}
case 0xe3u: {
// 227: MOV32_IMM (0x0103f75c28f1f00c)
if (pred_1_fragment) {
gpr_12_fragment = utof(0x3f75c28fu);
}
}
case 0xe4u: {
// 228: MOV32_IMM (0x0103e6b851f1f00d)
if (pred_1_fragment) {
gpr_13_fragment = utof(0x3e6b851fu);
}
}
case 0xe5u: {
// 229: MOV32_IMM (0x0103e8000002f00f)
if (pred_2_fragment) {
gpr_15_fragment = utof(0x3e800000u);
}
}
case 0xe6u: {
}
case 0xe7u: {
// 231: MOV32_IMM (0x0103f59999a2f00c)
if (pred_2_fragment) {
gpr_12_fragment = utof(0x3f59999au);
}
}
case 0xe8u: {
// 232: MOV32_IMM (0x0103ee147ae2f00d)
if (pred_2_fragment) {
gpr_13_fragment = utof(0x3ee147aeu);
}
}
case 0xe9u: {
// 233: MOV32_IMM (0x0103d4ccccd3f00f)
if (pred_3_fragment) {
gpr_15_fragment = utof(0x3d4ccccdu);
}
}
case 0xeau: {
}
case 0xebu: {
// 235: MOV32_IMM (0x0103f6e147b3f00c)
if (pred_3_fragment) {
gpr_12_fragment = utof(0x3f6e147bu);
}
}
case 0xecu: {
// 236: MOV32_IMM (0x0103f47ae143f00d)
if (pred_3_fragment) {
gpr_13_fragment = utof(0x3f47ae14u);
}
}
case 0xedu: {
// 237: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0xeeu: {
}
case 0xefu: {
// 239: SYNC (0xf0f800000008000f)
if (!(pred_0_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0xf0u: {
// 240: MOV_R (0x5c98078000f70000)
gpr_0_fragment = gpr_15_fragment;
}
case 0xf1u: {
// 241: KIL (0xe33000000007000f)
if (true) {
discard;
}
}
case 0xf2u: {
}
case 0xf3u: {
// 243: MOV_R (0x5c98078000c70001)
gpr_1_fragment = gpr_12_fragment;
}
case 0xf4u: {
// 244: MOV_R (0x5c98078000d70002)
gpr_2_fragment = gpr_13_fragment;
}
case 0xf5u: {
// 245: MOV_R (0x5c98078000e70003)
gpr_3_fragment = gpr_14_fragment;
}
case 0xf6u: {
}
case 0xf7u: {
// 247: EXIT (0xe30000000007000f)
FragColor0[0] = gpr_0_fragment;
FragColor0[1] = gpr_1_fragment;
FragColor0[2] = gpr_2_fragment;
FragColor0[3] = gpr_3_fragment;
return;
}
case 0xf8u: {
// 248: FSETP_R (0x5bb283800ff7070f)
pred_1_fragment = ((gpr_7_fragment == 0) && true);
}
case 0xf9u: {
// 249: SYNC (0xf0f800000009000f)
if (!(pred_1_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0xfau: {
}
case 0xfbu: {
// 251: MOV_R (0x5c9807800ff70000)
gpr_0_fragment = 0;
}
case 0xfcu: {
// 252: KIL (0xe33000000007000f)
if (true) {
discard;
}
}
case 0xfdu: {
// 253: MOV_R (0x5c9807800ff70001)
gpr_1_fragment = 0;
}
case 0xfeu: {
}
case 0xffu: {
// 255: MOV_R (0x5c9807800ff70002)
gpr_2_fragment = 0;
}
case 0x100u: {
// 256: MOV_R (0x5c9807800ff70003)
gpr_3_fragment = 0;
}
case 0x101u: {
// 257: EXIT (0xe30000000007000f)
FragColor0[0] = gpr_0_fragment;
FragColor0[1] = gpr_1_fragment;
FragColor0[2] = gpr_2_fragment;
FragColor0[3] = gpr_3_fragment;
return;
}
case 0x102u: {
}
case 0x103u: {
// 259: BRA (0xe24000013088000f)
if (!(pred_0_fragment)) {
jmp_to = 0x365u;
break;
}
}
case 0x104u: {
// 260: MOV_C (0x4c98078c00470000)
gpr_0_fragment = cbuf_3_fragment[1][0];
}
case 0x105u: {
// 261: SSY (0xe290000015800000)
flow_stack[flow_stack_top++] = 0x131u;
}
case 0x106u: {
}
case 0x107u: {
// 263: IADD32I (0x1c0ffffffff70000)
float tmp20 = itof((ftoi(gpr_0_fragment) + ftoi(utof(0xffffffffu))));
gpr_0_fragment = tmp20;
}
case 0x108u: {
// 264: IMNMX_IMM (0x3820038000270000)
gpr_0_fragment = (true ? utof(min(ftou(gpr_0_fragment), ftou(utof(2u)))) : utof(max(ftou(gpr_0_fragment), ftou(utof(2u)))));
}
case 0x109u: {
// 265: SHL_IMM (0x3848000000270000)
float tmp21 = itof((ftoi(gpr_0_fragment) << ftou(utof(2u))));
gpr_0_fragment = tmp21;
}
case 0x10au: {
}
case 0x10bu: {
// 267: LD_C (0xef94001000070000)
uint tmp22 = ftou(utof((ftou(gpr_0_fragment) + ftou(utof(0u))))) >> 2;
gpr_0_fragment = cbuf_1_fragment[tmp22 >> 2][tmp22 & 3];
}
case 0x10cu: {
// 268: BRX (0xe2500fff7e87000f)
float tmp23 = itof((ftoi(gpr_0_fragment) >> ftou(utof(3u))));
float tmp24 = itof((ftoi(tmp23) + ftoi(utof(0xau))));
jmp_to = ftou(tmp24);
break;
}
case 0x10du: {
// 269: IPA (0xe043ff8a0067ff00)
float tmp25 = (input_attr_2_fragment.x * gpr_6_fragment);
gpr_0_fragment = tmp25;
}
case 0x10eu: {
}
case 0x10fu: {
// 271: IPA (0xe043ff8a4067ff01)
float tmp26 = (input_attr_2_fragment.y * gpr_6_fragment);
gpr_1_fragment = tmp26;
}
case 0x110u: {
// 272: TEXS (0xd83000a020170000)
gpr_256_fragment = texture(sampler_1_fragment, vec2(gpr_0_fragment, gpr_1_fragment)).x;
gpr_257_fragment = texture(sampler_1_fragment, vec2(gpr_0_fragment, gpr_1_fragment)).y;
gpr_258_fragment = texture(sampler_1_fragment, vec2(gpr_0_fragment, gpr_1_fragment)).z;
gpr_259_fragment = texture(sampler_1_fragment, vec2(gpr_0_fragment, gpr_1_fragment)).w;
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
gpr_2_fragment = gpr_258_fragment;
gpr_3_fragment = gpr_259_fragment;
}
case 0x111u: {
// 273: FSETP_R (0x5bb483800ff70307)
pred_0_fragment = ((gpr_3_fragment > 0) && true);
}
case 0x112u: {
}
case 0x113u: {
// 275: BRA (0xe24000000e08000f)
if (!(pred_0_fragment)) {
jmp_to = 0x130u;
break;
}
}
case 0x114u: {
// 276: FFMA_RR (0x59a1040000370805)
float tmp27 = (-(gpr_3_fragment));
float tmp28 = fma(gpr_8_fragment, tmp27, gpr_8_fragment);
gpr_5_fragment = tmp28;
}
case 0x115u: {
// 277: FFMA_RR (0x59a1048000370904)
float tmp29 = (-(gpr_3_fragment));
float tmp30 = fma(gpr_9_fragment, tmp29, gpr_9_fragment);
gpr_4_fragment = tmp30;
}
case 0x116u: {
}
case 0x117u: {
// 279: FFMA_RR (0x59a1050000370a10)
float tmp31 = (-(gpr_3_fragment));
float tmp32 = fma(gpr_10_fragment, tmp31, gpr_10_fragment);
gpr_16_fragment = tmp32;
}
case 0x118u: {
// 280: FFMA_RR (0x59a0028000370008)
float tmp33 = fma(gpr_0_fragment, gpr_3_fragment, gpr_5_fragment);
gpr_8_fragment = tmp33;
}
case 0x119u: {
// 281: FFMA_RR (0x59a0020000370109)
float tmp34 = fma(gpr_1_fragment, gpr_3_fragment, gpr_4_fragment);
gpr_9_fragment = tmp34;
}
case 0x11au: {
}
case 0x11bu: {
// 283: FFMA_RR (0x59a008000037020a)
float tmp35 = fma(gpr_2_fragment, gpr_3_fragment, gpr_16_fragment);
gpr_10_fragment = tmp35;
}
case 0x11cu: {
// 284: BRA (0xe24000000987000f)
jmp_to = 0x130u;
break;
}
case 0x11du: {
// 285: MOV_C (0x4c98078c00570000)
gpr_0_fragment = cbuf_3_fragment[1][1];
}
case 0x11eu: {
}
case 0x11fu: {
// 287: IPA (0xe043ff888067ff05)
float tmp36 = (input_attr_0_fragment.z * gpr_6_fragment);
gpr_5_fragment = tmp36;
}
case 0x120u: {
// 288: FADD_IMM (0x39581041c0070000)
float tmp37 = (gpr_0_fragment + utof(0xc1c00000u));
gpr_0_fragment = tmp37;
}
case 0x121u: {
// 289: FSETP_R (0x5bb1838000070507)
pred_0_fragment = ((gpr_5_fragment < gpr_0_fragment) && true);
}
case 0x122u: {
}
case 0x123u: {
// 291: FSETP_C (0x4bb4a00c00570507)
pred_0_fragment = ((gpr_5_fragment > cbuf_3_fragment[1][1]) || pred_0_fragment);
}
case 0x124u: {
// 292: KIL (0xe33000000000000f)
if (pred_0_fragment) {
if (true) {
discard;
}
}
}
case 0x125u: {
// 293: MOV_R (0x5c98078000f00000)
if (pred_0_fragment) {
gpr_0_fragment = gpr_15_fragment;
}
}
case 0x126u: {
}
case 0x127u: {
// 295: MOV_R (0x5c98078000c00001)
if (pred_0_fragment) {
gpr_1_fragment = gpr_12_fragment;
}
}
case 0x128u: {
// 296: MOV_R (0x5c98078000d00002)
if (pred_0_fragment) {
gpr_2_fragment = gpr_13_fragment;
}
}
case 0x129u: {
// 297: MOV_R (0x5c98078000e00003)
if (pred_0_fragment) {
gpr_3_fragment = gpr_14_fragment;
}
}
case 0x12au: {
}
case 0x12bu: {
// 299: EXIT (0xe30000000000000f)
if (pred_0_fragment) {
FragColor0[0] = gpr_0_fragment;
FragColor0[1] = gpr_1_fragment;
FragColor0[2] = gpr_2_fragment;
FragColor0[3] = gpr_3_fragment;
return;
}
}
case 0x12cu: {
// 300: FADD_C (0x4c59100c00570505)
float tmp38 = (-(gpr_5_fragment));
float tmp39 = (tmp38 + cbuf_3_fragment[1][1]);
gpr_5_fragment = tmp39;
}
case 0x12du: {
// 301: FMUL_R (0x5c69100000570705)
float tmp40 = (-(gpr_5_fragment));
float tmp41 = (gpr_7_fragment * tmp40);
gpr_5_fragment = tmp41;
}
case 0x12eu: {
}
case 0x12fu: {
// 303: FFMA_CR (0x49a0038400370507)
float tmp42 = fma(gpr_5_fragment, cbuf_1_fragment[0][3], gpr_7_fragment);
gpr_7_fragment = tmp42;
}
case 0x130u: {
// 304: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x131u: {
// 305: FSETP_R (0x5bb283800ff70707)
pred_0_fragment = ((gpr_7_fragment == 0) && true);
}
case 0x132u: {
}
case 0x133u: {
// 307: KIL (0xe33000000000000f)
if (pred_0_fragment) {
if (true) {
discard;
}
}
}
case 0x134u: {
// 308: MOV_R (0x5c98078000f00000)
if (pred_0_fragment) {
gpr_0_fragment = gpr_15_fragment;
}
}
case 0x135u: {
// 309: MOV_R (0x5c98078000c00001)
if (pred_0_fragment) {
gpr_1_fragment = gpr_12_fragment;
}
}
case 0x136u: {
}
case 0x137u: {
// 311: MOV_R (0x5c98078000d00002)
if (pred_0_fragment) {
gpr_2_fragment = gpr_13_fragment;
}
}
case 0x138u: {
// 312: MOV_R (0x5c98078000e00003)
if (pred_0_fragment) {
gpr_3_fragment = gpr_14_fragment;
}
}
case 0x139u: {
// 313: EXIT (0xe30000000000000f)
if (pred_0_fragment) {
FragColor0[0] = gpr_0_fragment;
FragColor0[1] = gpr_1_fragment;
FragColor0[2] = gpr_2_fragment;
FragColor0[3] = gpr_3_fragment;
return;
}
}
case 0x13au: {
}
case 0x13bu: {
// 315: ISETP_C (0x4b65038c0077ff07)
pred_0_fragment = ((ftoi(0) == ftoi(cbuf_3_fragment[1][3])) && true);
}
case 0x13cu: {
// 316: SSY (0xe29000002d800000)
flow_stack[flow_stack_top++] = 0x198u;
}
case 0x13du: {
// 317: MOV_R (0x5c9807800ff7000c)
gpr_12_fragment = 0;
}
case 0x13eu: {
}
case 0x13fu: {
// 319: ISET_C (0x4b55138c0077ff11)
float tmp43 = (((ftoi(0) == ftoi(cbuf_3_fragment[1][3])) && true) ? utof(0x3f800000u) : utof(0u));
gpr_17_fragment = tmp43;
}
case 0x140u: {
// 320: ISET_C (0x4b55138c0077ff0f)
float tmp44 = (((ftoi(0) == ftoi(cbuf_3_fragment[1][3])) && true) ? utof(0x3f800000u) : utof(0u));
gpr_15_fragment = tmp44;
}
case 0x141u: {
// 321: ISET_C (0x4b55138c0077ff0e)
float tmp45 = (((ftoi(0) == ftoi(cbuf_3_fragment[1][3])) && true) ? utof(0x3f800000u) : utof(0u));
gpr_14_fragment = tmp45;
}
case 0x142u: {
}
case 0x143u: {
// 323: SYNC (0xf0f800000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x144u: {
// 324: MOV_C (0x4c98078c00770000)
gpr_0_fragment = cbuf_3_fragment[1][3];
}
case 0x145u: {
// 325: ISETP_IMM (0x366b038000370007)
pred_0_fragment = ((ftoi(gpr_0_fragment) != ftoi(utof(3u))) && true);
}
case 0x146u: {
}
case 0x147u: {
// 327: SYNC (0xf0f800000008000f)
if (!(pred_0_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x148u: {
// 328: ISETP_C (0x4b6d0390ab17ff07)
pred_0_fragment = ((ftoi(0) >= ftoi(cbuf_4_fragment[684][1])) && true);
}
case 0x149u: {
// 329: SYNC (0xf0f800000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x14au: {
}
case 0x14bu: {
// 331: MOV_R (0x5c9807800ff70012)
gpr_18_fragment = 0;
}
case 0x14cu: {
// 332: IPA (0xe043ff880067ff05)
float tmp46 = (input_attr_0_fragment.x * gpr_6_fragment);
gpr_5_fragment = tmp46;
}
case 0x14du: {
// 333: IPA (0xe043ff884067ff0d)
float tmp47 = (input_attr_0_fragment.y * gpr_6_fragment);
gpr_13_fragment = tmp47;
}
case 0x14eu: {
}
case 0x14fu: {
// 335: IPA (0xe043ff888067ff10)
float tmp48 = (input_attr_0_fragment.z * gpr_6_fragment);
gpr_16_fragment = tmp48;
}
case 0x150u: {
}
case 0x151u: {
// 337: XMAD_IMM (0x36007f8015071204)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_18_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x150u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_4_fragment = gpr_258_fragment;
}
case 0x152u: {
}
case 0x153u: {
// 339: XMAD_IMM (0x3620021015071204)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_18_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x150u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_4_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_4_fragment = gpr_258_fragment;
}
case 0x154u: {
// 340: LD_C (0xef9500401c070402)
uint tmp49 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x1c0u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp49 >> 2][tmp49 & 3];
uint tmp50 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x1c4u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp50 >> 2][tmp50 & 3];
gpr_2_fragment = gpr_256_fragment;
gpr_3_fragment = gpr_257_fragment;
}
case 0x155u: {
// 341: LD_C (0xef9400401c870413)
uint tmp51 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x1c8u))))) >> 2;
gpr_19_fragment = cbuf_4_fragment[tmp51 >> 2][tmp51 & 3];
}
case 0x156u: {
}
case 0x157u: {
// 343: LD_C (0xef95004020870400)
uint tmp52 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x208u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp52 >> 2][tmp52 & 3];
uint tmp53 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x20cu))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp53 >> 2][tmp53 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x158u: {
// 344: MOV32_IMM (0x0103ecccccd7f014)
gpr_20_fragment = utof(0x3ecccccdu);
}
case 0x159u: {
// 345: FADD_R (0x5c59100000570202)
float tmp54 = (-(gpr_2_fragment));
float tmp55 = (tmp54 + gpr_5_fragment);
gpr_2_fragment = tmp55;
}
case 0x15au: {
}
case 0x15bu: {
// 347: FADD_R (0x5c59100000d70303)
float tmp56 = (-(gpr_3_fragment));
float tmp57 = (tmp56 + gpr_13_fragment);
gpr_3_fragment = tmp57;
}
case 0x15cu: {
// 348: FMUL_R (0x5c68100000270202)
float tmp58 = (gpr_2_fragment * gpr_2_fragment);
gpr_2_fragment = tmp58;
}
case 0x15du: {
// 349: FADD_R (0x5c58300001371013)
float tmp59 = (-(gpr_19_fragment));
float tmp60 = (gpr_16_fragment + tmp59);
gpr_19_fragment = tmp60;
}
case 0x15eu: {
}
case 0x15fu: {
// 351: FFMA_RR (0x59a0010000370302)
float tmp61 = fma(gpr_3_fragment, gpr_3_fragment, gpr_2_fragment);
gpr_2_fragment = tmp61;
}
case 0x160u: {
// 352: FFMA_RR (0x59a0010001371303)
float tmp62 = fma(gpr_19_fragment, gpr_19_fragment, gpr_2_fragment);
gpr_3_fragment = tmp62;
}
case 0x161u: {
// 353: MUFU (0x5080000000870303)
float tmp63 = sqrt(gpr_3_fragment);
gpr_3_fragment = tmp63;
}
case 0x162u: {
}
case 0x163u: {
// 355: FADD_IMM (0x38581040a0070002)
float tmp64 = (gpr_0_fragment + utof(0x40a00000u));
gpr_2_fragment = tmp64;
}
case 0x164u: {
// 356: MOV32_IMM (0x0103e99999a7f013)
gpr_19_fragment = utof(0x3e99999au);
}
case 0x165u: {
// 357: FSET_R (0x5896038000070300)
float tmp65 = (((gpr_3_fragment >= gpr_0_fragment) && true) ? utof(0x3f800000u) : utof(0u));
gpr_0_fragment = tmp65;
}
case 0x166u: {
}
case 0x167u: {
// 359: FSET_R (0x5896038000170301)
float tmp66 = (((gpr_3_fragment >= gpr_1_fragment) && true) ? utof(0x3f800000u) : utof(0u));
gpr_1_fragment = tmp66;
}
case 0x168u: {
// 360: FSET_R (0x5896038000270302)
float tmp67 = (((gpr_3_fragment >= gpr_2_fragment) && true) ? utof(0x3f800000u) : utof(0u));
gpr_2_fragment = tmp67;
}
case 0x169u: {
// 361: FFMA_CR (0x49a0098400470000)
float tmp68 = fma(gpr_0_fragment, cbuf_1_fragment[1][0], gpr_19_fragment);
gpr_0_fragment = tmp68;
}
case 0x16au: {
}
case 0x16bu: {
// 363: FFMA_CR (0x49a00a0400570101)
float tmp69 = fma(gpr_1_fragment, cbuf_1_fragment[1][1], gpr_20_fragment);
gpr_1_fragment = tmp69;
}
case 0x16cu: {
// 364: FFMA_CR (0x49a0000400470202)
float tmp70 = fma(gpr_2_fragment, cbuf_1_fragment[1][0], gpr_0_fragment);
gpr_2_fragment = tmp70;
}
case 0x16du: {
// 365: FADD_R (0x5c58100000170202)
float tmp71 = (gpr_2_fragment + gpr_1_fragment);
gpr_2_fragment = tmp71;
}
case 0x16eu: {
}
case 0x16fu: {
// 367: LD_C (0xef9500401f870400)
uint tmp72 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x1f8u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp72 >> 2][tmp72 & 3];
uint tmp73 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x1fcu))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp73 >> 2][tmp73 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x170u: {
// 368: FSET_R (0x5896038000170301)
float tmp74 = (((gpr_3_fragment >= gpr_1_fragment) && true) ? utof(0x3f800000u) : utof(0u));
gpr_1_fragment = tmp74;
}
case 0x171u: {
// 369: FFMA_CR (0x49a00a0400570114)
float tmp75 = fma(gpr_1_fragment, cbuf_1_fragment[1][1], gpr_20_fragment);
gpr_20_fragment = tmp75;
}
case 0x172u: {
}
case 0x173u: {
// 371: FADD_IMM (0x38581040a0070001)
float tmp76 = (gpr_0_fragment + utof(0x40a00000u));
gpr_1_fragment = tmp76;
}
case 0x174u: {
// 372: FSET_R (0x5896038000070300)
float tmp77 = (((gpr_3_fragment >= gpr_0_fragment) && true) ? utof(0x3f800000u) : utof(0u));
gpr_0_fragment = tmp77;
}
case 0x175u: {
// 373: FSET_R (0x5896038000170301)
float tmp78 = (((gpr_3_fragment >= gpr_1_fragment) && true) ? utof(0x3f800000u) : utof(0u));
gpr_1_fragment = tmp78;
}
case 0x176u: {
}
case 0x177u: {
// 375: LD_C (0xef9400401f070403)
uint tmp79 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x1f0u))))) >> 2;
gpr_3_fragment = cbuf_4_fragment[tmp79 >> 2][tmp79 & 3];
}
case 0x178u: {
// 376: FFMA_CR (0x49a0098400470000)
float tmp80 = fma(gpr_0_fragment, cbuf_1_fragment[1][0], gpr_19_fragment);
gpr_0_fragment = tmp80;
}
case 0x179u: {
// 377: LD_C (0xef94004020070413)
uint tmp81 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x200u))))) >> 2;
gpr_19_fragment = cbuf_4_fragment[tmp81 >> 2][tmp81 & 3];
}
case 0x17au: {
}
case 0x17bu: {
// 379: FFMA_CR (0x49a0000400470101)
float tmp82 = fma(gpr_1_fragment, cbuf_1_fragment[1][0], gpr_0_fragment);
gpr_1_fragment = tmp82;
}
case 0x17cu: {
// 380: FADD_R (0x5c58100000171415)
float tmp83 = (gpr_20_fragment + gpr_1_fragment);
gpr_21_fragment = tmp83;
}
case 0x17du: {
// 381: LD_C (0xef9500401d070400)
uint tmp84 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x1d0u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp84 >> 2][tmp84 & 3];
uint tmp85 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x1d4u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp85 >> 2][tmp85 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x17eu: {
}
case 0x17fu: {
// 383: FADD32I (0x0883e99999a71515)
float tmp86 = (gpr_21_fragment + utof(0x3e99999au));
gpr_21_fragment = tmp86;
}
case 0x180u: {
// 384: LD_C (0xef9400401d870414)
uint tmp87 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x1d8u))))) >> 2;
gpr_20_fragment = cbuf_4_fragment[tmp87 >> 2][tmp87 & 3];
}
case 0x181u: {
// 385: FADD32I (0x0883e99999a70202)
float tmp88 = (gpr_2_fragment + utof(0x3e99999au));
gpr_2_fragment = tmp88;
}
case 0x182u: {
}
case 0x183u: {
// 387: IADD32I (0x1c00000000171212)
float tmp89 = itof((ftoi(gpr_18_fragment) + ftoi(utof(1u))));
gpr_18_fragment = tmp89;
}
case 0x184u: {
// 388: ISETP_C (0x4b6d0390ab171207)
pred_0_fragment = ((ftoi(gpr_18_fragment) >= ftoi(cbuf_4_fragment[684][1])) && true);
}
case 0x185u: {
// 389: DEPBAR (0xf0f0000000070001)
}
case 0x186u: {
}
case 0x187u: {
// 391: FMUL_R (0x5c68100001570315)
float tmp90 = (gpr_3_fragment * gpr_21_fragment);
gpr_21_fragment = tmp90;
}
case 0x188u: {
// 392: FFMA_RR (0x59a00a8001370202)
float tmp91 = fma(gpr_2_fragment, gpr_19_fragment, gpr_21_fragment);
gpr_2_fragment = tmp91;
}
case 0x189u: {
// 393: FMUL_R (0x5c68100000270000)
float tmp92 = (gpr_0_fragment * gpr_2_fragment);
gpr_0_fragment = tmp92;
}
case 0x18au: {
}
case 0x18bu: {
// 395: FMUL_R (0x5c68100000270101)
float tmp93 = (gpr_1_fragment * gpr_2_fragment);
gpr_1_fragment = tmp93;
}
case 0x18cu: {
// 396: FMUL_R (0x5c68100000271414)
float tmp94 = (gpr_20_fragment * gpr_2_fragment);
gpr_20_fragment = tmp94;
}
case 0x18du: {
// 397: FMNMX_R (0x5c60178001170011)
gpr_17_fragment = (!(true) ? min(gpr_0_fragment, gpr_17_fragment) : max(gpr_0_fragment, gpr_17_fragment));
}
case 0x18eu: {
}
case 0x18fu: {
// 399: FMNMX_R (0x5c60178000f7010f)
gpr_15_fragment = (!(true) ? min(gpr_1_fragment, gpr_15_fragment) : max(gpr_1_fragment, gpr_15_fragment));
}
case 0x190u: {
// 400: FMNMX_R (0x5c60178000e7140e)
gpr_14_fragment = (!(true) ? min(gpr_20_fragment, gpr_14_fragment) : max(gpr_20_fragment, gpr_14_fragment));
}
case 0x191u: {
// 401: FMNMX_C (0x4c60138c00e71111)
gpr_17_fragment = (true ? min(gpr_17_fragment, cbuf_3_fragment[3][2]) : max(gpr_17_fragment, cbuf_3_fragment[3][2]));
}
case 0x192u: {
}
case 0x193u: {
// 403: FMNMX_C (0x4c60138c00e70f0f)
gpr_15_fragment = (true ? min(gpr_15_fragment, cbuf_3_fragment[3][2]) : max(gpr_15_fragment, cbuf_3_fragment[3][2]));
}
case 0x194u: {
// 404: FMNMX_C (0x4c60138c00e70e0e)
gpr_14_fragment = (true ? min(gpr_14_fragment, cbuf_3_fragment[3][2]) : max(gpr_14_fragment, cbuf_3_fragment[3][2]));
}
case 0x195u: {
// 405: BRA (0xe2400fffdd88000f)
if (!(pred_0_fragment)) {
jmp_to = 0x151u;
break;
}
}
case 0x196u: {
}
case 0x197u: {
// 407: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x198u: {
// 408: ISETP_C (0x4b65038c0067ff07)
pred_0_fragment = ((ftoi(0) == ftoi(cbuf_3_fragment[1][2])) && true);
}
case 0x199u: {
// 409: PBK (0xe2a00000b1800000)
flow_stack[flow_stack_top++] = 0x2fdu;
}
case 0x19au: {
}
case 0x19bu: {
// 411: MOV32_IMM (0x0103f8000000f011)
if (pred_0_fragment) {
gpr_17_fragment = utof(0x3f800000u);
}
}
case 0x19cu: {
// 412: MOV32_IMM (0x0103f8000000f00f)
if (pred_0_fragment) {
gpr_15_fragment = utof(0x3f800000u);
}
}
case 0x19du: {
// 413: MOV32_IMM (0x0103f8000000f00e)
if (pred_0_fragment) {
gpr_14_fragment = utof(0x3f800000u);
}
}
case 0x19eu: {
}
case 0x19fu: {
// 415: BRK (0xe34000000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x1a0u: {
// 416: MOV_C (0x4c98078c00670004)
gpr_4_fragment = cbuf_3_fragment[1][2];
}
case 0x1a1u: {
// 417: ISETP_IMM (0x366b038000370407)
pred_0_fragment = ((ftoi(gpr_4_fragment) != ftoi(utof(3u))) && true);
}
case 0x1a2u: {
}
case 0x1a3u: {
// 419: BRK (0xe34000000008000f)
if (!(pred_0_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x1a4u: {
// 420: ISETP_C (0x4b6d0390ab07ff07)
pred_0_fragment = ((ftoi(0) >= ftoi(cbuf_4_fragment[684][0])) && true);
}
case 0x1a5u: {
// 421: BRK (0xe34000000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x1a6u: {
}
case 0x1a7u: {
// 423: MOV_R (0x5c9807800ff7000d)
gpr_13_fragment = 0;
}
case 0x1a8u: {
// 424: SSY (0xe290000074000000)
flow_stack[flow_stack_top++] = 0x291u;
}
case 0x1a9u: {
// 425: IADD_C (0x4c120010ab070d00)
float tmp95 = itof(-(ftoi(gpr_13_fragment)));
float tmp96 = itof((ftoi(tmp95) + ftoi(cbuf_4_fragment[684][0])));
gpr_0_fragment = tmp96;
}
case 0x1aau: {
}
case 0x1abu: {
// 427: ISETP_IMM (0x3667038000170007)
pred_0_fragment = ((ftoi(gpr_0_fragment) <= ftoi(utof(1u))) && true);
}
case 0x1acu: {
// 428: SYNC (0xf0f800000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x1adu: {
// 429: ISETP_IMM (0x366503800027040f)
pred_1_fragment = ((ftoi(gpr_4_fragment) == ftoi(utof(2u))) && true);
}
case 0x1aeu: {
}
case 0x1afu: {
// 431: SSY (0xe29000006e800000)
flow_stack[flow_stack_top++] = 0x28du;
}
case 0x1b0u: {
// 432: MOV_C (0x4c980790ab070010)
gpr_16_fragment = cbuf_4_fragment[684][0];
}
case 0x1b1u: {
// 433: IADD32I (0x1c0ffffffff71010)
float tmp97 = itof((ftoi(gpr_16_fragment) + ftoi(utof(0xffffffffu))));
gpr_16_fragment = tmp97;
}
case 0x1b2u: {
}
case 0x1b3u: {
// 435: MOV32_IMM (0x0103f8000007f002)
gpr_2_fragment = utof(0x3f800000u);
}
case 0x1b4u: {
// 436: SSY (0xe290000025800000)
flow_stack[flow_stack_top++] = 0x200u;
}
case 0x1b5u: {
// 437: SYNC (0xf0f800000009000f)
if (!(pred_1_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x1b6u: {
}
case 0x1b7u: {
// 439: XMAD_IMM (0x36007f8006070d12)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_18_fragment = gpr_258_fragment;
}
case 0x1b8u: {
// 440: PBK (0xe2a0000022000000)
flow_stack[flow_stack_top++] = 0x1fdu;
}
case 0x1b9u: {
// 441: XMAD_IMM (0x3620091006070d12)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_18_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_18_fragment = gpr_258_fragment;
}
case 0x1bau: {
}
case 0x1bbu: {
// 443: LD_C (0xef94004005c71200)
uint tmp98 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x5cu))))) >> 2;
gpr_0_fragment = cbuf_4_fragment[tmp98 >> 2][tmp98 & 3];
}
case 0x1bcu: {
// 444: ISETP_R (0x5b6d03800ff70007)
pred_0_fragment = ((ftoi(gpr_0_fragment) >= ftoi(0)) && true);
}
case 0x1bdu: {
// 445: BRA (0xe24000001e08000f)
if (!(pred_0_fragment)) {
jmp_to = 0x1fau;
break;
}
}
case 0x1beu: {
}
case 0x1bfu: {
// 447: LD_C (0xef95004001071202)
uint tmp99 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x10u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp99 >> 2][tmp99 & 3];
uint tmp100 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x14u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp100 >> 2][tmp100 & 3];
gpr_2_fragment = gpr_256_fragment;
gpr_3_fragment = gpr_257_fragment;
}
case 0x1c0u: {
// 448: LD_C (0xef94004001871204)
uint tmp101 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x18u))))) >> 2;
gpr_4_fragment = cbuf_4_fragment[tmp101 >> 2][tmp101 & 3];
}
case 0x1c1u: {
// 449: LD_C (0xef95004000071200)
uint tmp102 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp102 >> 2][tmp102 & 3];
uint tmp103 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(4u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp103 >> 2][tmp103 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x1c2u: {
}
case 0x1c3u: {
// 451: IPA (0xe043ff884067ff05)
float tmp104 = (input_attr_0_fragment.y * gpr_6_fragment);
gpr_5_fragment = tmp104;
}
case 0x1c4u: {
// 452: LD_C (0xef94004000871213)
uint tmp105 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(8u))))) >> 2;
gpr_19_fragment = cbuf_4_fragment[tmp105 >> 2][tmp105 & 3];
}
case 0x1c5u: {
// 453: IPA (0xe043ff880067ff16)
float tmp106 = (input_attr_0_fragment.x * gpr_6_fragment);
gpr_22_fragment = tmp106;
}
case 0x1c6u: {
}
case 0x1c7u: {
// 455: FMUL_R (0x5c68100000270515)
float tmp107 = (gpr_5_fragment * gpr_2_fragment);
gpr_21_fragment = tmp107;
}
case 0x1c8u: {
// 456: FMUL_R (0x5c68100000370503)
float tmp108 = (gpr_5_fragment * gpr_3_fragment);
gpr_3_fragment = tmp108;
}
case 0x1c9u: {
// 457: FMUL_R (0x5c68100000470514)
float tmp109 = (gpr_5_fragment * gpr_4_fragment);
gpr_20_fragment = tmp109;
}
case 0x1cau: {
}
case 0x1cbu: {
// 459: LD_C (0xef95004002071204)
uint tmp110 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x20u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp110 >> 2][tmp110 & 3];
uint tmp111 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x24u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp111 >> 2][tmp111 & 3];
gpr_4_fragment = gpr_256_fragment;
gpr_5_fragment = gpr_257_fragment;
}
case 0x1ccu: {
// 460: FFMA_RR (0x59a00a8000071615)
float tmp112 = fma(gpr_22_fragment, gpr_0_fragment, gpr_21_fragment);
gpr_21_fragment = tmp112;
}
case 0x1cdu: {
// 461: FFMA_RR (0x59a0018000171600)
float tmp113 = fma(gpr_22_fragment, gpr_1_fragment, gpr_3_fragment);
gpr_0_fragment = tmp113;
}
case 0x1ceu: {
}
case 0x1cfu: {
// 463: LD_C (0xef95004003071202)
uint tmp114 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x30u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp114 >> 2][tmp114 & 3];
uint tmp115 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x34u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp115 >> 2][tmp115 & 3];
gpr_2_fragment = gpr_256_fragment;
gpr_3_fragment = gpr_257_fragment;
}
case 0x1d0u: {
// 464: FFMA_RR (0x59a00a0001371613)
float tmp116 = fma(gpr_22_fragment, gpr_19_fragment, gpr_20_fragment);
gpr_19_fragment = tmp116;
}
case 0x1d1u: {
// 465: IPA (0xe043ff888067ff16)
float tmp117 = (input_attr_0_fragment.z * gpr_6_fragment);
gpr_22_fragment = tmp117;
}
case 0x1d2u: {
}
case 0x1d3u: {
// 467: LD_C (0xef94004003871214)
uint tmp118 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x38u))))) >> 2;
gpr_20_fragment = cbuf_4_fragment[tmp118 >> 2][tmp118 & 3];
}
case 0x1d4u: {
// 468: FFMA_RR (0x59a00a8000471604)
float tmp119 = fma(gpr_22_fragment, gpr_4_fragment, gpr_21_fragment);
gpr_4_fragment = tmp119;
}
case 0x1d5u: {
// 469: LD_C (0xef94004002871215)
uint tmp120 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x28u))))) >> 2;
gpr_21_fragment = cbuf_4_fragment[tmp120 >> 2][tmp120 & 3];
}
case 0x1d6u: {
}
case 0x1d7u: {
// 471: FADD_R (0x5c58100000470201)
float tmp121 = (gpr_2_fragment + gpr_4_fragment);
gpr_1_fragment = tmp121;
}
case 0x1d8u: {
// 472: MOV32_IMM (0x0103f0000007f004)
gpr_4_fragment = utof(0x3f000000u);
}
case 0x1d9u: {
// 473: FFMA_IMM (0x32a0023f00070101)
float tmp122 = fma(gpr_1_fragment, utof(0x3f000000u), gpr_4_fragment);
gpr_1_fragment = tmp122;
}
case 0x1dau: {
}
case 0x1dbu: {
// 475: FSETP_IMM (0x36b483bf80070107)
pred_0_fragment = ((gpr_1_fragment > utof(0x3f800000u)) && true);
}
case 0x1dcu: {
// 476: FFMA_RR (0x59a0000000571600)
float tmp123 = fma(gpr_22_fragment, gpr_5_fragment, gpr_0_fragment);
gpr_0_fragment = tmp123;
}
case 0x1ddu: {
// 477: FADD_R (0x5c58100000070302)
float tmp124 = (gpr_3_fragment + gpr_0_fragment);
gpr_2_fragment = tmp124;
}
case 0x1deu: {
}
case 0x1dfu: {
// 479: FSETP_R (0x5bb1a0000ff70107)
pred_0_fragment = ((gpr_1_fragment < 0) || pred_0_fragment);
}
case 0x1e0u: {
// 480: FFMA_IMM (0x32a0023f00070202)
float tmp125 = fma(gpr_2_fragment, utof(0x3f000000u), gpr_4_fragment);
gpr_2_fragment = tmp125;
}
case 0x1e1u: {
// 481: FSETP_R (0x5bb1a0000ff70217)
pred_2_fragment = ((gpr_2_fragment < 0) || pred_0_fragment);
}
case 0x1e2u: {
}
case 0x1e3u: {
// 483: PSETP (0x50900380e0077007)
pred_0_fragment = ((true && true) && true);
}
case 0x1e4u: {
// 484: FSETP_IMM (0x36b4a13f80070217)
pred_2_fragment = ((gpr_2_fragment > utof(0x3f800000u)) || pred_2_fragment);
}
case 0x1e5u: {
// 485: FFMA_RR (0x59a0098001571613)
float tmp126 = fma(gpr_22_fragment, gpr_21_fragment, gpr_19_fragment);
gpr_19_fragment = tmp126;
}
case 0x1e6u: {
}
case 0x1e7u: {
// 487: PSETP (0x50900380e002f007)
if (pred_2_fragment) {
pred_0_fragment = ((!(true) && true) && true);
}
}
case 0x1e8u: {
// 488: FADD_R (0x5c58100001371413)
float tmp127 = (gpr_20_fragment + gpr_19_fragment);
gpr_19_fragment = tmp127;
}
case 0x1e9u: {
// 489: MOV_R (0x5c9807800ff2000b)
if (pred_2_fragment) {
gpr_11_fragment = 0;
}
}
case 0x1eau: {
}
case 0x1ebu: {
// 491: FFMA_IMM (0x32a4023f00071303)
float tmp128 = fma(gpr_19_fragment, utof(0x3f000000u), gpr_4_fragment);
gpr_3_fragment = clamp(tmp128, utof(0u), utof(0x3f800000u));
}
case 0x1ecu: {
// 492: BRK (0xe34000000008000f)
if (!(pred_0_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x1edu: {
// 493: XMAD_IMM (0x36007f8006070d00)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_0_fragment = gpr_258_fragment;
}
case 0x1eeu: {
}
case 0x1efu: {
// 495: XMAD_IMM (0x3620001006070d04)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_4_fragment = gpr_258_fragment;
}
case 0x1f0u: {
// 496: LD_C (0xef94004005c70404)
uint tmp129 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x5cu))))) >> 2;
gpr_4_fragment = cbuf_4_fragment[tmp129 >> 2][tmp129 & 3];
}
case 0x1f1u: {
// 497: FADD32I (0x088bb99999a70303)
float tmp130 = (gpr_3_fragment + utof(0xbb99999au));
gpr_3_fragment = tmp130;
}
case 0x1f2u: {
}
case 0x1f3u: {
// 499: I2F_R (0x5cb8000000472a00)
float tmp131 = float(ftoi(gpr_4_fragment));
gpr_0_fragment = tmp131;
}
case 0x1f4u: {
// 500: F2I_R (0x5cb0100000070900)
float tmp132 = roundEven(gpr_0_fragment);
float tmp133 = utof(uint(tmp132));
gpr_0_fragment = utof((ftou(utof((ftou(tmp133) << ftou(utof(0x10u))))) >> ftou(utof(0x10u))));
}
case 0x1f5u: {
// 501: TEX (0xc03c00c0b0370001)
gpr_256_fragment = vec4(texture(sampler_2_fragment, vec4(gpr_1_fragment, gpr_2_fragment, float(ftoi(gpr_0_fragment)), gpr_3_fragment))).x;
gpr_1_fragment = gpr_256_fragment;
}
case 0x1f6u: {
}
case 0x1f7u: {
// 503: FSET_IMM (0x309603bf0007010b)
float tmp134 = (((gpr_1_fragment >= utof(0x3f000000u)) && true) ? utof(0x3f800000u) : utof(0u));
gpr_11_fragment = tmp134;
}
case 0x1f8u: {
// 504: FADD_IMM (0x3859103f80070b0b)
float tmp135 = (-(gpr_11_fragment));
float tmp136 = (tmp135 + utof(0x3f800000u));
gpr_11_fragment = tmp136;
}
case 0x1f9u: {
// 505: BRK (0xe34000000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x1fau: {
}
case 0x1fbu: {
// 507: MOV_R (0x5c9807800ff7000b)
gpr_11_fragment = 0;
}
case 0x1fcu: {
// 508: BRK (0xe34000000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x1fdu: {
// 509: MOV_R (0x5c98078000b70002)
gpr_2_fragment = gpr_11_fragment;
}
case 0x1feu: {
}
case 0x1ffu: {
// 511: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x200u: {
// 512: XMAD_IMM (0x36007f8006070d00)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_0_fragment = gpr_258_fragment;
}
case 0x201u: {
// 513: SSY (0xe290000035000000)
flow_stack[flow_stack_top++] = 0x26cu;
}
case 0x202u: {
}
case 0x203u: {
// 515: XMAD_IMM (0x3620001006070d14)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_20_fragment = gpr_258_fragment;
}
case 0x204u: {
// 516: LD_C (0xef94004005c71404)
uint tmp137 = ftou(utof((ftou(gpr_20_fragment) + ftou(utof(0x5cu))))) >> 2;
gpr_4_fragment = cbuf_4_fragment[tmp137 >> 2][tmp137 & 3];
}
case 0x205u: {
// 517: XMAD_IMM (0x3620001006070d15)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_21_fragment = gpr_258_fragment;
}
case 0x206u: {
}
case 0x207u: {
// 519: LD_C (0xef94004005071412)
uint tmp138 = ftou(utof((ftou(gpr_20_fragment) + ftou(utof(0x50u))))) >> 2;
gpr_18_fragment = cbuf_4_fragment[tmp138 >> 2][tmp138 & 3];
}
case 0x208u: {
// 520: IADD32I (0x1c00000000170d0d)
float tmp139 = itof((ftoi(gpr_13_fragment) + ftoi(utof(1u))));
gpr_13_fragment = tmp139;
}
case 0x209u: {
// 521: LD_C (0xef94004005471505)
uint tmp140 = ftou(utof((ftou(gpr_21_fragment) + ftou(utof(0x54u))))) >> 2;
gpr_5_fragment = cbuf_4_fragment[tmp140 >> 2][tmp140 & 3];
}
case 0x20au: {
}
case 0x20bu: {
// 523: LD_C (0xef94004004871503)
uint tmp141 = ftou(utof((ftou(gpr_21_fragment) + ftou(utof(0x48u))))) >> 2;
gpr_3_fragment = cbuf_4_fragment[tmp141 >> 2][tmp141 & 3];
}
case 0x20cu: {
// 524: LD_C (0xef94004005811513)
if (pred_1_fragment) {
uint tmp142 = ftou(utof((ftou(gpr_21_fragment) + ftou(utof(0x58u))))) >> 2;
gpr_19_fragment = cbuf_4_fragment[tmp142 >> 2][tmp142 & 3];
}
}
case 0x20du: {
// 525: LD_C (0xef95004004071500)
uint tmp143 = ftou(utof((ftou(gpr_21_fragment) + ftou(utof(0x40u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp143 >> 2][tmp143 & 3];
uint tmp144 = ftou(utof((ftou(gpr_21_fragment) + ftou(utof(0x44u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp144 >> 2][tmp144 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x20eu: {
}
case 0x20fu: {
// 527: ISETP_R (0x5b6d00800ff70407)
pred_0_fragment = ((ftoi(gpr_4_fragment) >= ftoi(0)) && pred_1_fragment);
}
case 0x210u: {
// 528: MOV32_IMM (0x0103f8000007f004)
gpr_4_fragment = utof(0x3f800000u);
}
case 0x211u: {
// 529: FADD_IMM (0x3859103f80000204)
if (pred_0_fragment) {
float tmp145 = (-(gpr_2_fragment));
float tmp146 = (tmp145 + utof(0x3f800000u));
gpr_4_fragment = tmp146;
}
}
case 0x212u: {
}
case 0x213u: {
// 531: FFMA_RR (0x59a0090000570412)
float tmp147 = fma(gpr_4_fragment, gpr_5_fragment, gpr_18_fragment);
gpr_18_fragment = tmp147;
}
case 0x214u: {
// 532: FMUL_R (0x5c68100001310213)
if (pred_1_fragment) {
float tmp148 = (gpr_2_fragment * gpr_19_fragment);
gpr_19_fragment = tmp148;
}
}
case 0x215u: {
// 533: FMUL_R (0x5c68100000371203)
float tmp149 = (gpr_18_fragment * gpr_3_fragment);
gpr_3_fragment = tmp149;
}
case 0x216u: {
}
case 0x217u: {
// 535: FMUL_R (0x5c68100000071200)
float tmp150 = (gpr_18_fragment * gpr_0_fragment);
gpr_0_fragment = tmp150;
}
case 0x218u: {
// 536: FMUL_R (0x5c68100000171201)
float tmp151 = (gpr_18_fragment * gpr_1_fragment);
gpr_1_fragment = tmp151;
}
case 0x219u: {
// 537: FMNMX_R (0x5c60178001310c0c)
if (pred_1_fragment) {
gpr_12_fragment = (!(true) ? min(gpr_12_fragment, gpr_19_fragment) : max(gpr_12_fragment, gpr_19_fragment));
}
}
case 0x21au: {
}
case 0x21bu: {
// 539: MOV_C (0x4c98078c00670004)
gpr_4_fragment = cbuf_3_fragment[1][2];
}
case 0x21cu: {
// 540: FMNMX_R (0x5c60178000370e0e)
gpr_14_fragment = (!(true) ? min(gpr_14_fragment, gpr_3_fragment) : max(gpr_14_fragment, gpr_3_fragment));
}
case 0x21du: {
// 541: FMNMX_R (0x5c60178000071111)
gpr_17_fragment = (!(true) ? min(gpr_17_fragment, gpr_0_fragment) : max(gpr_17_fragment, gpr_0_fragment));
}
case 0x21eu: {
}
case 0x21fu: {
// 543: FMNMX_R (0x5c60178000170f0f)
gpr_15_fragment = (!(true) ? min(gpr_15_fragment, gpr_1_fragment) : max(gpr_15_fragment, gpr_1_fragment));
}
case 0x220u: {
// 544: MOV32_IMM (0x0103f8000007f003)
gpr_3_fragment = utof(0x3f800000u);
}
case 0x221u: {
// 545: SYNC (0xf0f800000009000f)
if (!(pred_1_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x222u: {
}
case 0x223u: {
// 547: XMAD_IMM (0x36007f8006070d00)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_0_fragment = gpr_258_fragment;
}
case 0x224u: {
// 548: PBK (0xe2a0000022000000)
flow_stack[flow_stack_top++] = 0x269u;
}
case 0x225u: {
// 549: XMAD_IMM (0x3620001006070d05)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_5_fragment = gpr_258_fragment;
}
case 0x226u: {
}
case 0x227u: {
// 551: LD_C (0xef94004005c70500)
uint tmp152 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x5cu))))) >> 2;
gpr_0_fragment = cbuf_4_fragment[tmp152 >> 2][tmp152 & 3];
}
case 0x228u: {
// 552: ISETP_R (0x5b6d03800ff70007)
pred_0_fragment = ((ftoi(gpr_0_fragment) >= ftoi(0)) && true);
}
case 0x229u: {
// 553: BRA (0xe24000001e08000f)
if (!(pred_0_fragment)) {
jmp_to = 0x266u;
break;
}
}
case 0x22au: {
}
case 0x22bu: {
// 555: LD_C (0xef95004001070502)
uint tmp153 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x10u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp153 >> 2][tmp153 & 3];
uint tmp154 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x14u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp154 >> 2][tmp154 & 3];
gpr_2_fragment = gpr_256_fragment;
gpr_3_fragment = gpr_257_fragment;
}
case 0x22cu: {
// 556: LD_C (0xef95004000070500)
uint tmp155 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp155 >> 2][tmp155 & 3];
uint tmp156 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(4u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp156 >> 2][tmp156 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x22du: {
// 557: IPA (0xe043ff884067ff15)
float tmp157 = (input_attr_0_fragment.y * gpr_6_fragment);
gpr_21_fragment = tmp157;
}
case 0x22eu: {
}
case 0x22fu: {
// 559: LD_C (0xef94004001870514)
uint tmp158 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x18u))))) >> 2;
gpr_20_fragment = cbuf_4_fragment[tmp158 >> 2][tmp158 & 3];
}
case 0x230u: {
// 560: IPA (0xe043ff880067ff12)
float tmp159 = (input_attr_0_fragment.x * gpr_6_fragment);
gpr_18_fragment = tmp159;
}
case 0x231u: {
// 561: LD_C (0xef94004000870517)
uint tmp160 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(8u))))) >> 2;
gpr_23_fragment = cbuf_4_fragment[tmp160 >> 2][tmp160 & 3];
}
case 0x232u: {
}
case 0x233u: {
// 563: FMUL_R (0x5c68100000271513)
float tmp161 = (gpr_21_fragment * gpr_2_fragment);
gpr_19_fragment = tmp161;
}
case 0x234u: {
// 564: FMUL_R (0x5c68100000371503)
float tmp162 = (gpr_21_fragment * gpr_3_fragment);
gpr_3_fragment = tmp162;
}
case 0x235u: {
// 565: FFMA_RR (0x59a0098000071202)
float tmp163 = fma(gpr_18_fragment, gpr_0_fragment, gpr_19_fragment);
gpr_2_fragment = tmp163;
}
case 0x236u: {
}
case 0x237u: {
// 567: FFMA_RR (0x59a0018000171213)
float tmp164 = fma(gpr_18_fragment, gpr_1_fragment, gpr_3_fragment);
gpr_19_fragment = tmp164;
}
case 0x238u: {
// 568: LD_C (0xef95004002070500)
uint tmp165 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x20u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp165 >> 2][tmp165 & 3];
uint tmp166 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x24u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp166 >> 2][tmp166 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x239u: {
// 569: FMUL_R (0x5c68100001471514)
float tmp167 = (gpr_21_fragment * gpr_20_fragment);
gpr_20_fragment = tmp167;
}
case 0x23au: {
}
case 0x23bu: {
// 571: FFMA_RR (0x59a00a0001771212)
float tmp168 = fma(gpr_18_fragment, gpr_23_fragment, gpr_20_fragment);
gpr_18_fragment = tmp168;
}
case 0x23cu: {
// 572: IPA (0xe043ff888067ff14)
float tmp169 = (input_attr_0_fragment.z * gpr_6_fragment);
gpr_20_fragment = tmp169;
}
case 0x23du: {
// 573: FFMA_RR (0x59a0010000071400)
float tmp170 = fma(gpr_20_fragment, gpr_0_fragment, gpr_2_fragment);
gpr_0_fragment = tmp170;
}
case 0x23eu: {
}
case 0x23fu: {
// 575: LD_C (0xef95004003070502)
uint tmp171 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x30u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp171 >> 2][tmp171 & 3];
uint tmp172 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x34u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp172 >> 2][tmp172 & 3];
gpr_2_fragment = gpr_256_fragment;
gpr_3_fragment = gpr_257_fragment;
}
case 0x240u: {
// 576: FADD_R (0x5c58100000070215)
float tmp173 = (gpr_2_fragment + gpr_0_fragment);
gpr_21_fragment = tmp173;
}
case 0x241u: {
// 577: MOV32_IMM (0x0103f0000007f000)
gpr_0_fragment = utof(0x3f000000u);
}
case 0x242u: {
}
case 0x243u: {
// 579: FFMA_RR (0x59a0098000171402)
float tmp174 = fma(gpr_20_fragment, gpr_1_fragment, gpr_19_fragment);
gpr_2_fragment = tmp174;
}
case 0x244u: {
// 580: LD_C (0xef94004002870513)
uint tmp175 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x28u))))) >> 2;
gpr_19_fragment = cbuf_4_fragment[tmp175 >> 2][tmp175 & 3];
}
case 0x245u: {
// 581: FFMA_IMM (0x32a0003f00071501)
float tmp176 = fma(gpr_21_fragment, utof(0x3f000000u), gpr_0_fragment);
gpr_1_fragment = tmp176;
}
case 0x246u: {
}
case 0x247u: {
// 583: LD_C (0xef94004003870515)
uint tmp177 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x38u))))) >> 2;
gpr_21_fragment = cbuf_4_fragment[tmp177 >> 2][tmp177 & 3];
}
case 0x248u: {
// 584: FSETP_IMM (0x36b483bf80070107)
pred_0_fragment = ((gpr_1_fragment > utof(0x3f800000u)) && true);
}
case 0x249u: {
// 585: FADD_R (0x5c58100000270302)
float tmp178 = (gpr_3_fragment + gpr_2_fragment);
gpr_2_fragment = tmp178;
}
case 0x24au: {
}
case 0x24bu: {
// 587: FSETP_R (0x5bb1a0000ff70107)
pred_0_fragment = ((gpr_1_fragment < 0) || pred_0_fragment);
}
case 0x24cu: {
// 588: FFMA_IMM (0x32a0003f00070202)
float tmp179 = fma(gpr_2_fragment, utof(0x3f000000u), gpr_0_fragment);
gpr_2_fragment = tmp179;
}
case 0x24du: {
// 589: FSETP_R (0x5bb1a0000ff70217)
pred_2_fragment = ((gpr_2_fragment < 0) || pred_0_fragment);
}
case 0x24eu: {
}
case 0x24fu: {
// 591: PSETP (0x50900380e0077007)
pred_0_fragment = ((true && true) && true);
}
case 0x250u: {
// 592: FSETP_IMM (0x36b4a13f80070217)
pred_2_fragment = ((gpr_2_fragment > utof(0x3f800000u)) || pred_2_fragment);
}
case 0x251u: {
// 593: FFMA_RR (0x59a0090001371412)
float tmp180 = fma(gpr_20_fragment, gpr_19_fragment, gpr_18_fragment);
gpr_18_fragment = tmp180;
}
case 0x252u: {
}
case 0x253u: {
// 595: PSETP (0x50900380e002f007)
if (pred_2_fragment) {
pred_0_fragment = ((!(true) && true) && true);
}
}
case 0x254u: {
// 596: FADD_R (0x5c58100001271512)
float tmp181 = (gpr_21_fragment + gpr_18_fragment);
gpr_18_fragment = tmp181;
}
case 0x255u: {
// 597: MOV_R (0x5c9807800ff2000b)
if (pred_2_fragment) {
gpr_11_fragment = 0;
}
}
case 0x256u: {
}
case 0x257u: {
// 599: FFMA_IMM (0x32a4003f00071203)
float tmp182 = fma(gpr_18_fragment, utof(0x3f000000u), gpr_0_fragment);
gpr_3_fragment = clamp(tmp182, utof(0u), utof(0x3f800000u));
}
case 0x258u: {
// 600: BRK (0xe34000000008000f)
if (!(pred_0_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x259u: {
// 601: XMAD_IMM (0x36007f8006070d00)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_0_fragment = gpr_258_fragment;
}
case 0x25au: {
}
case 0x25bu: {
// 603: XMAD_IMM (0x3620001006070d05)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_5_fragment = gpr_258_fragment;
}
case 0x25cu: {
// 604: LD_C (0xef94004005c70505)
uint tmp183 = ftou(utof((ftou(gpr_5_fragment) + ftou(utof(0x5cu))))) >> 2;
gpr_5_fragment = cbuf_4_fragment[tmp183 >> 2][tmp183 & 3];
}
case 0x25du: {
// 605: FADD32I (0x088bb99999a70303)
float tmp184 = (gpr_3_fragment + utof(0xbb99999au));
gpr_3_fragment = tmp184;
}
case 0x25eu: {
}
case 0x25fu: {
// 607: I2F_R (0x5cb8000000572a00)
float tmp185 = float(ftoi(gpr_5_fragment));
gpr_0_fragment = tmp185;
}
case 0x260u: {
// 608: F2I_R (0x5cb0100000070900)
float tmp186 = roundEven(gpr_0_fragment);
float tmp187 = utof(uint(tmp186));
gpr_0_fragment = utof((ftou(utof((ftou(tmp187) << ftou(utof(0x10u))))) >> ftou(utof(0x10u))));
}
case 0x261u: {
// 609: TEX (0xc03c00c0b0370001)
gpr_256_fragment = vec4(texture(sampler_2_fragment, vec4(gpr_1_fragment, gpr_2_fragment, float(ftoi(gpr_0_fragment)), gpr_3_fragment))).x;
gpr_1_fragment = gpr_256_fragment;
}
case 0x262u: {
}
case 0x263u: {
// 611: FSET_IMM (0x309603bf0007010b)
float tmp188 = (((gpr_1_fragment >= utof(0x3f000000u)) && true) ? utof(0x3f800000u) : utof(0u));
gpr_11_fragment = tmp188;
}
case 0x264u: {
// 612: FADD_IMM (0x3859103f80070b0b)
float tmp189 = (-(gpr_11_fragment));
float tmp190 = (tmp189 + utof(0x3f800000u));
gpr_11_fragment = tmp190;
}
case 0x265u: {
// 613: BRK (0xe34000000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x266u: {
}
case 0x267u: {
// 615: MOV_R (0x5c9807800ff7000b)
gpr_11_fragment = 0;
}
case 0x268u: {
// 616: BRK (0xe34000000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x269u: {
// 617: MOV_R (0x5c98078000b70003)
gpr_3_fragment = gpr_11_fragment;
}
case 0x26au: {
}
case 0x26bu: {
// 619: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x26cu: {
// 620: XMAD_IMM (0x36007f8006070d00)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_0_fragment = gpr_258_fragment;
}
case 0x26du: {
// 621: XMAD_IMM (0x3620001006070d15)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_21_fragment = gpr_258_fragment;
}
case 0x26eu: {
}
case 0x26fu: {
// 623: LD_C (0xef94004005c71513)
uint tmp191 = ftou(utof((ftou(gpr_21_fragment) + ftou(utof(0x5cu))))) >> 2;
gpr_19_fragment = cbuf_4_fragment[tmp191 >> 2][tmp191 & 3];
}
case 0x270u: {
// 624: XMAD_IMM (0x3620001006070d16)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_22_fragment = gpr_258_fragment;
}
case 0x271u: {
// 625: LD_C (0xef94004005071514)
uint tmp192 = ftou(utof((ftou(gpr_21_fragment) + ftou(utof(0x50u))))) >> 2;
gpr_20_fragment = cbuf_4_fragment[tmp192 >> 2][tmp192 & 3];
}
case 0x272u: {
}
case 0x273u: {
// 627: IADD32I (0x1c00000000170d0d)
float tmp193 = itof((ftoi(gpr_13_fragment) + ftoi(utof(1u))));
gpr_13_fragment = tmp193;
}
case 0x274u: {
// 628: LD_C (0xef94004005471612)
uint tmp194 = ftou(utof((ftou(gpr_22_fragment) + ftou(utof(0x54u))))) >> 2;
gpr_18_fragment = cbuf_4_fragment[tmp194 >> 2][tmp194 & 3];
}
case 0x275u: {
// 629: LD_C (0xef95004004071600)
uint tmp195 = ftou(utof((ftou(gpr_22_fragment) + ftou(utof(0x40u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp195 >> 2][tmp195 & 3];
uint tmp196 = ftou(utof((ftou(gpr_22_fragment) + ftou(utof(0x44u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp196 >> 2][tmp196 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x276u: {
}
case 0x277u: {
// 631: LD_C (0xef94004005811605)
if (pred_1_fragment) {
uint tmp197 = ftou(utof((ftou(gpr_22_fragment) + ftou(utof(0x58u))))) >> 2;
gpr_5_fragment = cbuf_4_fragment[tmp197 >> 2][tmp197 & 3];
}
}
case 0x278u: {
// 632: LD_C (0xef94004004871602)
uint tmp198 = ftou(utof((ftou(gpr_22_fragment) + ftou(utof(0x48u))))) >> 2;
gpr_2_fragment = cbuf_4_fragment[tmp198 >> 2][tmp198 & 3];
}
case 0x279u: {
// 633: ISETP_R (0x5b6d00800ff71307)
pred_0_fragment = ((ftoi(gpr_19_fragment) >= ftoi(0)) && pred_1_fragment);
}
case 0x27au: {
}
case 0x27bu: {
// 635: MOV32_IMM (0x0103f8000007f013)
gpr_19_fragment = utof(0x3f800000u);
}
case 0x27cu: {
// 636: FADD_IMM (0x3859103f80000313)
if (pred_0_fragment) {
float tmp199 = (-(gpr_3_fragment));
float tmp200 = (tmp199 + utof(0x3f800000u));
gpr_19_fragment = tmp200;
}
}
case 0x27du: {
// 637: ISETP_R (0x5b63038001070d07)
pred_0_fragment = ((ftoi(gpr_13_fragment) < ftoi(gpr_16_fragment)) && true);
}
case 0x27eu: {
}
case 0x27fu: {
// 639: FFMA_RR (0x59a00a0001371213)
float tmp201 = fma(gpr_18_fragment, gpr_19_fragment, gpr_20_fragment);
gpr_19_fragment = tmp201;
}
case 0x280u: {
// 640: FMUL_R (0x5c68100000310505)
if (pred_1_fragment) {
float tmp202 = (gpr_5_fragment * gpr_3_fragment);
gpr_5_fragment = tmp202;
}
}
case 0x281u: {
// 641: FMUL_R (0x5c68100000071300)
float tmp203 = (gpr_19_fragment * gpr_0_fragment);
gpr_0_fragment = tmp203;
}
case 0x282u: {
}
case 0x283u: {
// 643: FMUL_R (0x5c68100000171301)
float tmp204 = (gpr_19_fragment * gpr_1_fragment);
gpr_1_fragment = tmp204;
}
case 0x284u: {
// 644: FMUL_R (0x5c68100000271313)
float tmp205 = (gpr_19_fragment * gpr_2_fragment);
gpr_19_fragment = tmp205;
}
case 0x285u: {
// 645: FMNMX_R (0x5c60178000510c0c)
if (pred_1_fragment) {
gpr_12_fragment = (!(true) ? min(gpr_12_fragment, gpr_5_fragment) : max(gpr_12_fragment, gpr_5_fragment));
}
}
case 0x286u: {
}
case 0x287u: {
// 647: FMNMX_R (0x5c60178000071111)
gpr_17_fragment = (!(true) ? min(gpr_17_fragment, gpr_0_fragment) : max(gpr_17_fragment, gpr_0_fragment));
}
case 0x288u: {
// 648: FMNMX_R (0x5c60178000170f0f)
gpr_15_fragment = (!(true) ? min(gpr_15_fragment, gpr_1_fragment) : max(gpr_15_fragment, gpr_1_fragment));
}
case 0x289u: {
// 649: FMNMX_R (0x5c60178001370e0e)
gpr_14_fragment = (!(true) ? min(gpr_14_fragment, gpr_19_fragment) : max(gpr_14_fragment, gpr_19_fragment));
}
case 0x28au: {
}
case 0x28bu: {
// 651: BRA (0xe2400fff9300000f)
if (pred_0_fragment) {
jmp_to = 0x1b2u;
break;
}
}
case 0x28cu: {
// 652: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x28du: {
// 653: ISETP_C (0x4b6d0390ab070d07)
pred_0_fragment = ((ftoi(gpr_13_fragment) >= ftoi(cbuf_4_fragment[684][0])) && true);
}
case 0x28eu: {
}
case 0x28fu: {
// 655: BRK (0xe34000000000000f)
if (pred_0_fragment) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x290u: {
// 656: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x291u: {
// 657: ISETP_IMM (0x366503800027040f)
pred_1_fragment = ((ftoi(gpr_4_fragment) == ftoi(utof(2u))) && true);
}
case 0x292u: {
}
case 0x293u: {
// 659: SSY (0xe290000026000000)
flow_stack[flow_stack_top++] = 0x2e0u;
}
case 0x294u: {
// 660: MOV32_IMM (0x0103f8000007f002)
gpr_2_fragment = utof(0x3f800000u);
}
case 0x295u: {
// 661: SYNC (0xf0f800000009000f)
if (!(pred_1_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x296u: {
}
case 0x297u: {
// 663: XMAD_IMM (0x36007f8006070d13)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_19_fragment = gpr_258_fragment;
}
case 0x298u: {
// 664: PBK (0xe2a0000022000000)
flow_stack[flow_stack_top++] = 0x2ddu;
}
case 0x299u: {
// 665: XMAD_IMM (0x3620099006070d13)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_19_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_19_fragment = gpr_258_fragment;
}
case 0x29au: {
}
case 0x29bu: {
// 667: LD_C (0xef94004005c71300)
uint tmp206 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x5cu))))) >> 2;
gpr_0_fragment = cbuf_4_fragment[tmp206 >> 2][tmp206 & 3];
}
case 0x29cu: {
// 668: ISETP_R (0x5b6d03800ff70007)
pred_0_fragment = ((ftoi(gpr_0_fragment) >= ftoi(0)) && true);
}
case 0x29du: {
// 669: BRA (0xe24000001e08000f)
if (!(pred_0_fragment)) {
jmp_to = 0x2dau;
break;
}
}
case 0x29eu: {
}
case 0x29fu: {
// 671: LD_C (0xef95004001071304)
uint tmp207 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x10u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp207 >> 2][tmp207 & 3];
uint tmp208 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x14u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp208 >> 2][tmp208 & 3];
gpr_4_fragment = gpr_256_fragment;
gpr_5_fragment = gpr_257_fragment;
}
case 0x2a0u: {
// 672: LD_C (0xef95004000071302)
uint tmp209 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp209 >> 2][tmp209 & 3];
uint tmp210 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(4u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp210 >> 2][tmp210 & 3];
gpr_2_fragment = gpr_256_fragment;
gpr_3_fragment = gpr_257_fragment;
}
case 0x2a1u: {
// 673: IPA (0xe043ff884067ff16)
float tmp211 = (input_attr_0_fragment.y * gpr_6_fragment);
gpr_22_fragment = tmp211;
}
case 0x2a2u: {
}
case 0x2a3u: {
// 675: IPA (0xe043ff880067ff10)
float tmp212 = (input_attr_0_fragment.x * gpr_6_fragment);
gpr_16_fragment = tmp212;
}
case 0x2a4u: {
// 676: LD_C (0xef95004002071300)
uint tmp213 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x20u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp213 >> 2][tmp213 & 3];
uint tmp214 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x24u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp214 >> 2][tmp214 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x2a5u: {
// 677: IPA (0xe043ff888067ff12)
float tmp215 = (input_attr_0_fragment.z * gpr_6_fragment);
gpr_18_fragment = tmp215;
}
case 0x2a6u: {
}
case 0x2a7u: {
// 679: LD_C (0xef94004001871314)
uint tmp216 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x18u))))) >> 2;
gpr_20_fragment = cbuf_4_fragment[tmp216 >> 2][tmp216 & 3];
}
case 0x2a8u: {
// 680: FMUL_R (0x5c68100000471615)
float tmp217 = (gpr_22_fragment * gpr_4_fragment);
gpr_21_fragment = tmp217;
}
case 0x2a9u: {
// 681: FMUL_R (0x5c68100000571605)
float tmp218 = (gpr_22_fragment * gpr_5_fragment);
gpr_5_fragment = tmp218;
}
case 0x2aau: {
}
case 0x2abu: {
// 683: FFMA_RR (0x59a00a8000271015)
float tmp219 = fma(gpr_16_fragment, gpr_2_fragment, gpr_21_fragment);
gpr_21_fragment = tmp219;
}
case 0x2acu: {
// 684: FFMA_RR (0x59a0028000371004)
float tmp220 = fma(gpr_16_fragment, gpr_3_fragment, gpr_5_fragment);
gpr_4_fragment = tmp220;
}
case 0x2adu: {
// 685: LD_C (0xef95004003071302)
uint tmp221 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x30u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp221 >> 2][tmp221 & 3];
uint tmp222 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x34u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp222 >> 2][tmp222 & 3];
gpr_2_fragment = gpr_256_fragment;
gpr_3_fragment = gpr_257_fragment;
}
case 0x2aeu: {
}
case 0x2afu: {
// 687: FFMA_RR (0x59a00a8000071200)
float tmp223 = fma(gpr_18_fragment, gpr_0_fragment, gpr_21_fragment);
gpr_0_fragment = tmp223;
}
case 0x2b0u: {
// 688: LD_C (0xef94004000871305)
uint tmp224 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(8u))))) >> 2;
gpr_5_fragment = cbuf_4_fragment[tmp224 >> 2][tmp224 & 3];
}
case 0x2b1u: {
// 689: FFMA_RR (0x59a0020000171204)
float tmp225 = fma(gpr_18_fragment, gpr_1_fragment, gpr_4_fragment);
gpr_4_fragment = tmp225;
}
case 0x2b2u: {
}
case 0x2b3u: {
// 691: LD_C (0xef94004002871315)
uint tmp226 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x28u))))) >> 2;
gpr_21_fragment = cbuf_4_fragment[tmp226 >> 2][tmp226 & 3];
}
case 0x2b4u: {
// 692: FMUL_R (0x5c68100001471616)
float tmp227 = (gpr_22_fragment * gpr_20_fragment);
gpr_22_fragment = tmp227;
}
case 0x2b5u: {
// 693: LD_C (0xef94004003871314)
uint tmp228 = ftou(utof((ftou(gpr_19_fragment) + ftou(utof(0x38u))))) >> 2;
gpr_20_fragment = cbuf_4_fragment[tmp228 >> 2][tmp228 & 3];
}
case 0x2b6u: {
}
case 0x2b7u: {
// 695: FADD_R (0x5c58100000070201)
float tmp229 = (gpr_2_fragment + gpr_0_fragment);
gpr_1_fragment = tmp229;
}
case 0x2b8u: {
// 696: MOV32_IMM (0x0103f0000007f000)
gpr_0_fragment = utof(0x3f000000u);
}
case 0x2b9u: {
// 697: FFMA_IMM (0x32a0003f00070101)
float tmp230 = fma(gpr_1_fragment, utof(0x3f000000u), gpr_0_fragment);
gpr_1_fragment = tmp230;
}
case 0x2bau: {
}
case 0x2bbu: {
// 699: FSETP_IMM (0x36b483bf80070107)
pred_0_fragment = ((gpr_1_fragment > utof(0x3f800000u)) && true);
}
case 0x2bcu: {
// 700: FADD_R (0x5c58100000470302)
float tmp231 = (gpr_3_fragment + gpr_4_fragment);
gpr_2_fragment = tmp231;
}
case 0x2bdu: {
// 701: FSETP_R (0x5bb1a0000ff70107)
pred_0_fragment = ((gpr_1_fragment < 0) || pred_0_fragment);
}
case 0x2beu: {
}
case 0x2bfu: {
// 703: FFMA_IMM (0x32a0003f00070202)
float tmp232 = fma(gpr_2_fragment, utof(0x3f000000u), gpr_0_fragment);
gpr_2_fragment = tmp232;
}
case 0x2c0u: {
// 704: FSETP_R (0x5bb1a0000ff70217)
pred_2_fragment = ((gpr_2_fragment < 0) || pred_0_fragment);
}
case 0x2c1u: {
// 705: FFMA_RR (0x59a00b0000571010)
float tmp233 = fma(gpr_16_fragment, gpr_5_fragment, gpr_22_fragment);
gpr_16_fragment = tmp233;
}
case 0x2c2u: {
}
case 0x2c3u: {
// 707: FSETP_IMM (0x36b4a13f80070217)
pred_2_fragment = ((gpr_2_fragment > utof(0x3f800000u)) || pred_2_fragment);
}
case 0x2c4u: {
// 708: PSETP (0x50900380e0077007)
pred_0_fragment = ((true && true) && true);
}
case 0x2c5u: {
// 709: FFMA_RR (0x59a0080001571212)
float tmp234 = fma(gpr_18_fragment, gpr_21_fragment, gpr_16_fragment);
gpr_18_fragment = tmp234;
}
case 0x2c6u: {
}
case 0x2c7u: {
// 711: PSETP (0x50900380e002f007)
if (pred_2_fragment) {
pred_0_fragment = ((!(true) && true) && true);
}
}
case 0x2c8u: {
// 712: FADD_R (0x5c58100001271412)
float tmp235 = (gpr_20_fragment + gpr_18_fragment);
gpr_18_fragment = tmp235;
}
case 0x2c9u: {
// 713: MOV_R (0x5c9807800ff2000b)
if (pred_2_fragment) {
gpr_11_fragment = 0;
}
}
case 0x2cau: {
}
case 0x2cbu: {
// 715: FFMA_IMM (0x32a4003f00071203)
float tmp236 = fma(gpr_18_fragment, utof(0x3f000000u), gpr_0_fragment);
gpr_3_fragment = clamp(tmp236, utof(0u), utof(0x3f800000u));
}
case 0x2ccu: {
// 716: BRK (0xe34000000008000f)
if (!(pred_0_fragment)) {
jmp_to = flow_stack[--flow_stack_top];
break;
}
}
case 0x2cdu: {
// 717: XMAD_IMM (0x36007f8006070d00)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_0_fragment = gpr_258_fragment;
}
case 0x2ceu: {
}
case 0x2cfu: {
// 719: XMAD_IMM (0x3620001006070d04)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_4_fragment = gpr_258_fragment;
}
case 0x2d0u: {
// 720: LD_C (0xef94004005c70404)
uint tmp237 = ftou(utof((ftou(gpr_4_fragment) + ftou(utof(0x5cu))))) >> 2;
gpr_4_fragment = cbuf_4_fragment[tmp237 >> 2][tmp237 & 3];
}
case 0x2d1u: {
// 721: FADD32I (0x088bb99999a70303)
float tmp238 = (gpr_3_fragment + utof(0xbb99999au));
gpr_3_fragment = tmp238;
}
case 0x2d2u: {
}
case 0x2d3u: {
// 723: I2F_R (0x5cb8000000472a00)
float tmp239 = float(ftoi(gpr_4_fragment));
gpr_0_fragment = tmp239;
}
case 0x2d4u: {
// 724: F2I_R (0x5cb0100000070900)
float tmp240 = roundEven(gpr_0_fragment);
float tmp241 = utof(uint(tmp240));
gpr_0_fragment = utof((ftou(utof((ftou(tmp241) << ftou(utof(0x10u))))) >> ftou(utof(0x10u))));
}
case 0x2d5u: {
// 725: TEX (0xc03c00c0b0370001)
gpr_256_fragment = vec4(texture(sampler_2_fragment, vec4(gpr_1_fragment, gpr_2_fragment, float(ftoi(gpr_0_fragment)), gpr_3_fragment))).x;
gpr_1_fragment = gpr_256_fragment;
}
case 0x2d6u: {
}
case 0x2d7u: {
// 727: FSET_IMM (0x309603bf0007010b)
float tmp242 = (((gpr_1_fragment >= utof(0x3f000000u)) && true) ? utof(0x3f800000u) : utof(0u));
gpr_11_fragment = tmp242;
}
case 0x2d8u: {
// 728: FADD_IMM (0x3859103f80070b0b)
float tmp243 = (-(gpr_11_fragment));
float tmp244 = (tmp243 + utof(0x3f800000u));
gpr_11_fragment = tmp244;
}
case 0x2d9u: {
// 729: BRK (0xe34000000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x2dau: {
}
case 0x2dbu: {
// 731: MOV_R (0x5c9807800ff7000b)
gpr_11_fragment = 0;
}
case 0x2dcu: {
// 732: BRK (0xe34000000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x2ddu: {
// 733: MOV_R (0x5c98078000b70002)
gpr_2_fragment = gpr_11_fragment;
}
case 0x2deu: {
}
case 0x2dfu: {
// 735: SYNC (0xf0f800000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x2e0u: {
// 736: XMAD_IMM (0x36007f8006070d00)
gpr_256_fragment = itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))));
gpr_257_fragment = 0;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_0_fragment = gpr_258_fragment;
}
case 0x2e1u: {
// 737: XMAD_IMM (0x3620001006070d0b)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_11_fragment = gpr_258_fragment;
}
case 0x2e2u: {
}
case 0x2e3u: {
// 739: LD_C (0xef94004005c70b13)
uint tmp245 = ftou(utof((ftou(gpr_11_fragment) + ftou(utof(0x5cu))))) >> 2;
gpr_19_fragment = cbuf_4_fragment[tmp245 >> 2][tmp245 & 3];
}
case 0x2e4u: {
// 740: XMAD_IMM (0x3620001006070d12)
gpr_256_fragment = itof((ftoi(itof((ftoi(utof(bitfieldExtract(ftou(gpr_13_fragment), ftoi(utof(0x10u)), ftoi(utof(0x10u))))) * ftoi(utof(bitfieldExtract(ftou(utof(0x60u)), ftoi(utof(0u)), ftoi(utof(0x10u)))))))) << ftou(utof(0x10u))));
gpr_257_fragment = gpr_0_fragment;
gpr_258_fragment = itof((ftoi(gpr_256_fragment) + ftoi(gpr_257_fragment)));
gpr_18_fragment = gpr_258_fragment;
}
case 0x2e5u: {
// 741: LD_C (0xef94004005070b10)
uint tmp246 = ftou(utof((ftou(gpr_11_fragment) + ftou(utof(0x50u))))) >> 2;
gpr_16_fragment = cbuf_4_fragment[tmp246 >> 2][tmp246 & 3];
}
case 0x2e6u: {
}
case 0x2e7u: {
// 743: MOV32_IMM (0x0103f8000007f00d)
gpr_13_fragment = utof(0x3f800000u);
}
case 0x2e8u: {
// 744: LD_C (0xef94004005471203)
uint tmp247 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x54u))))) >> 2;
gpr_3_fragment = cbuf_4_fragment[tmp247 >> 2][tmp247 & 3];
}
case 0x2e9u: {
// 745: LD_C (0xef95004004071200)
uint tmp248 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x40u))))) >> 2;
gpr_256_fragment = cbuf_4_fragment[tmp248 >> 2][tmp248 & 3];
uint tmp249 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x44u))))) >> 2;
gpr_257_fragment = cbuf_4_fragment[tmp249 >> 2][tmp249 & 3];
gpr_0_fragment = gpr_256_fragment;
gpr_1_fragment = gpr_257_fragment;
}
case 0x2eau: {
}
case 0x2ebu: {
// 747: LD_C (0xef94004005811205)
if (pred_1_fragment) {
uint tmp250 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x58u))))) >> 2;
gpr_5_fragment = cbuf_4_fragment[tmp250 >> 2][tmp250 & 3];
}
}
case 0x2ecu: {
// 748: LD_C (0xef94004004871204)
uint tmp251 = ftou(utof((ftou(gpr_18_fragment) + ftou(utof(0x48u))))) >> 2;
gpr_4_fragment = cbuf_4_fragment[tmp251 >> 2][tmp251 & 3];
}
case 0x2edu: {
// 749: ISETP_R (0x5b6d00800ff71307)
pred_0_fragment = ((ftoi(gpr_19_fragment) >= ftoi(0)) && pred_1_fragment);
}
case 0x2eeu: {
}
case 0x2efu: {
// 751: FADD_IMM (0x3859103f8000020d)
if (pred_0_fragment) {
float tmp252 = (-(gpr_2_fragment));
float tmp253 = (tmp252 + utof(0x3f800000u));
gpr_13_fragment = tmp253;
}
}
case 0x2f0u: {
// 752: FFMA_RR (0x59a0080000d70303)
float tmp254 = fma(gpr_3_fragment, gpr_13_fragment, gpr_16_fragment);
gpr_3_fragment = tmp254;
}
case 0x2f1u: {
// 753: FMUL_R (0x5c68100000210502)
if (pred_1_fragment) {
float tmp255 = (gpr_5_fragment * gpr_2_fragment);
gpr_2_fragment = tmp255;
}
}
case 0x2f2u: {
}
case 0x2f3u: {
// 755: FMUL_R (0x5c68100000070300)
float tmp256 = (gpr_3_fragment * gpr_0_fragment);
gpr_0_fragment = tmp256;
}
case 0x2f4u: {
// 756: FMUL_R (0x5c68100000170301)
float tmp257 = (gpr_3_fragment * gpr_1_fragment);
gpr_1_fragment = tmp257;
}
case 0x2f5u: {
// 757: FMUL_R (0x5c68100000470303)
float tmp258 = (gpr_3_fragment * gpr_4_fragment);
gpr_3_fragment = tmp258;
}
case 0x2f6u: {
}
case 0x2f7u: {
// 759: FMNMX_R (0x5c60178000c1020c)
if (pred_1_fragment) {
gpr_12_fragment = (!(true) ? min(gpr_2_fragment, gpr_12_fragment) : max(gpr_2_fragment, gpr_12_fragment));
}
}
case 0x2f8u: {
// 760: FMNMX_R (0x5c60178001170011)
gpr_17_fragment = (!(true) ? min(gpr_0_fragment, gpr_17_fragment) : max(gpr_0_fragment, gpr_17_fragment));
}
case 0x2f9u: {
// 761: FMNMX_R (0x5c60178000f7010f)
gpr_15_fragment = (!(true) ? min(gpr_1_fragment, gpr_15_fragment) : max(gpr_1_fragment, gpr_15_fragment));
}
case 0x2fau: {
}
case 0x2fbu: {
// 763: FMNMX_R (0x5c60178000e7030e)
gpr_14_fragment = (!(true) ? min(gpr_3_fragment, gpr_14_fragment) : max(gpr_3_fragment, gpr_14_fragment));
}
case 0x2fcu: {
// 764: BRK (0xe34000000007000f)
jmp_to = flow_stack[--flow_stack_top];
break;
}
case 0x2fdu: {
// 765: ISETP_C (0x4b63038c0097ff07)
pred_0_fragment = ((ftoi(0) < ftoi(cbuf_3_fragment[2][1])) && true);
}
case 0x2feu: {
}
case 0x2ffu: {
// 767: FFMA_RR (0x59a5088000c71111)
float tmp259 = (-(gpr_12_fragment));
float tmp260 = fma(gpr_17_fragment, tmp259, gpr_17_fragment);
gpr_17_fragment = clamp(tmp260, utof(0u), utof(0x3f800000u));
}
case 0x300u: {
// 768: FFMA_RR (0x59a5070000c70e00)
float tmp261 = (-(gpr_12_fragment));
float tmp262 = fma(gpr_14_fragment, tmp261, gpr_14_fragment);
gpr_0_fragment = clamp(tmp262, utof(0u), utof(0x3f800000u));
}
case 0x301u: {
// 769: FFMA_RR (0x59a5078000c70f0c)
float tmp263 = (-(gpr_12_fragment));
float tmp264 = fma(gpr_15_fragment, tmp263, gpr_15_fragment);
gpr_12_fragment = clamp(tmp264, utof(0u), utof(0x3f800000u));
}
case 0x302u: {
}
case 0x303u: {
// 771: FMUL_R (0x5c68100001170808)
float tmp265 = (gpr_8_fragment * gpr_17_fragment);
gpr_8_fragment = tmp265;
}
case 0x304u: {
// 772: FMUL_R (0x5c68100000070a0d)
float tmp266 = (gpr_10_fragment * gpr_0_fragment);
gpr_13_fragment = tmp266;
}
case 0x305u: {
// 773: FMUL_R (0x5c68100000c70909)
float tmp267 = (gpr_9_fragment * gpr_12_fragment);
gpr_9_fragment = tmp267;
}
case 0x306u: {
}
case 0x307u: {
// 775: BRA (0xe24000002508000f)
if (!(pred_0_fragment)) {
jmp_to = 0x352u;
break;
}
}
case 0x308u: {
// 776: FADD_R (0x5c58300000d70900)
float tmp268 = (-(gpr_13_fragment));
float tmp269 = (gpr_9_fragment + tmp268);
gpr_0_fragment = tmp269;
}
case 0x309u: {
// 777: IPA (0xe043ff888067ff06)
float tmp270 = (input_attr_0_fragment.z * gpr_6_fragment);
gpr_6_fragment = tmp270;
}
case 0x30au: {
}
case 0x30bu: {
// 779: FSET_R (0x5896038000d70902)
float tmp271 = (((gpr_9_fragment >= gpr_13_fragment) && true) ? utof(0x3f800000u) : utof(0u));
gpr_2_fragment = tmp271;
}
case 0x30cu: {
// 780: I2F_C (0x4cb8000c00972a0a)
float tmp272 = float(ftoi(cbuf_3_fragment[2][1]));
gpr_10_fragment = tmp272;
}
case 0x30du: {
// 781: FFMA_RR (0x59a0068000270001)
float tmp273 = fma(gpr_0_fragment, gpr_2_fragment, gpr_13_fragment);
gpr_1_fragment = tmp273;
}
case 0x30eu: {
}
case 0x30fu: {
// 783: FADD_R (0x5c59100000d70900)
float tmp274 = (-(gpr_9_fragment));
float tmp275 = (tmp274 + gpr_13_fragment);
gpr_0_fragment = tmp275;
}
case 0x310u: {
// 784: FSET_R (0x5896038000170805)
float tmp276 = (((gpr_8_fragment >= gpr_1_fragment) && true) ? utof(0x3f800000u) : utof(0u));
gpr_5_fragment = tmp276;
}
case 0x311u: {
// 785: FADD_R (0x5c58300000870103)
float tmp277 = (-(gpr_8_fragment));
float tmp278 = (gpr_1_fragment + tmp277);
gpr_3_fragment = tmp278;
}
case 0x312u: {
}
case 0x313u: {
// 787: FFMA_RR (0x59a0048000270009)
float tmp279 = fma(gpr_0_fragment, gpr_2_fragment, gpr_9_fragment);
gpr_9_fragment = tmp279;
}
case 0x314u: {
// 788: FADD_R (0x5c59100000870100)
float tmp280 = (-(gpr_1_fragment));
float tmp281 = (tmp280 + gpr_8_fragment);
gpr_0_fragment = tmp281;
}
case 0x315u: {
// 789: FFMA_RR (0x59a0040000570308)
float tmp282 = fma(gpr_3_fragment, gpr_5_fragment, gpr_8_fragment);
gpr_8_fragment = tmp282;
}
case 0x316u: {
}
case 0x317u: {
// 791: FFMA_RR (0x59a0008000570000)
float tmp283 = fma(gpr_0_fragment, gpr_5_fragment, gpr_1_fragment);
gpr_0_fragment = tmp283;
}
case 0x318u: {
// 792: FMNMX_R (0x5c60138000870901)
gpr_1_fragment = (true ? min(gpr_9_fragment, gpr_8_fragment) : max(gpr_9_fragment, gpr_8_fragment));
}
case 0x319u: {
// 793: MOV32_IMM (0x0102edbe6ff7f004)
gpr_4_fragment = utof(0x2edbe6ffu);
}
case 0x31au: {
}
case 0x31bu: {
// 795: FADD_IMM (0x3958103f80070203)
float tmp284 = (gpr_2_fragment + utof(0xbf800000u));
gpr_3_fragment = tmp284;
}
case 0x31cu: {
// 796: FADD32I (0x0983f2aaaab70202)
float tmp285 = (-(gpr_2_fragment));
float tmp286 = (tmp285 + utof(0x3f2aaaabu));
gpr_2_fragment = tmp286;
}
case 0x31du: {
// 797: FADD_R (0x5c58300000170001)
float tmp287 = (-(gpr_1_fragment));
float tmp288 = (gpr_0_fragment + tmp287);
gpr_1_fragment = tmp288;
}
case 0x31eu: {
}
case 0x31fu: {
// 799: FADD_R (0x5c58300000270303)
float tmp289 = (-(gpr_2_fragment));
float tmp290 = (gpr_3_fragment + tmp289);
gpr_3_fragment = tmp290;
}
case 0x320u: {
// 800: FFMA_IMM (0x32a00240c0070104)
float tmp291 = fma(gpr_1_fragment, utof(0x40c00000u), gpr_4_fragment);
gpr_4_fragment = tmp291;
}
case 0x321u: {
// 801: MUFU (0x5080000000470404)
float tmp292 = (utof(0x3f800000u) / gpr_4_fragment);
gpr_4_fragment = tmp292;
}
case 0x322u: {
}
case 0x323u: {
// 803: FFMA_RR (0x59a0010000570302)
float tmp293 = fma(gpr_3_fragment, gpr_5_fragment, gpr_2_fragment);
gpr_2_fragment = tmp293;
}
case 0x324u: {
// 804: FADD_R (0x5c59100000870909)
float tmp294 = (-(gpr_9_fragment));
float tmp295 = (tmp294 + gpr_8_fragment);
gpr_9_fragment = tmp295;
}
case 0x325u: {
// 805: FFMA_RR (0x59a0010000970402)
float tmp296 = fma(gpr_4_fragment, gpr_9_fragment, gpr_2_fragment);
gpr_2_fragment = tmp296;
}
case 0x326u: {
}
case 0x327u: {
// 807: FMUL32_IMM (0x1e23d2aaaab70609)
float tmp297 = (gpr_6_fragment * utof(0x3d2aaaabu));
gpr_9_fragment = tmp297;
}
case 0x328u: {
// 808: FADD32I (0x08c3eaaaaab70205)
float tmp298 = abs(gpr_2_fragment);
float tmp299 = (tmp298 + utof(0x3eaaaaabu));
gpr_5_fragment = tmp299;
}
case 0x329u: {
// 809: FADD_IMM (0x3858503f80070203)
float tmp300 = abs(gpr_2_fragment);
float tmp301 = (tmp300 + utof(0x3f800000u));
gpr_3_fragment = tmp301;
}
case 0x32au: {
}
case 0x32bu: {
// 811: F2F_R (0x5ca8148000570a08)
float tmp302 = floor(gpr_5_fragment);
gpr_8_fragment = tmp302;
}
case 0x32cu: {
// 812: FADD32I (0x08c3f2aaaab70202)
float tmp303 = abs(gpr_2_fragment);
float tmp304 = (tmp303 + utof(0x3f2aaaabu));
gpr_2_fragment = tmp304;
}
case 0x32du: {
// 813: F2F_R (0x5ca8148000370a06)
float tmp305 = floor(gpr_3_fragment);
gpr_6_fragment = tmp305;
}
case 0x32eu: {
}
case 0x32fu: {
// 815: FMNMX_R (0x5c60138000a7090a)
gpr_10_fragment = (true ? min(gpr_9_fragment, gpr_10_fragment) : max(gpr_9_fragment, gpr_10_fragment));
}
case 0x330u: {
// 816: F2F_R (0x5ca8148000270a04)
float tmp306 = floor(gpr_2_fragment);
gpr_4_fragment = tmp306;
}
case 0x331u: {
// 817: FADD32I (0x0882edbe6ff70009)
float tmp307 = (gpr_0_fragment + utof(0x2edbe6ffu));
gpr_9_fragment = tmp307;
}
case 0x332u: {
}
case 0x333u: {
// 819: MOV_C (0x4c98078c00b7000c)
gpr_12_fragment = cbuf_3_fragment[2][3];
}
case 0x334u: {
// 820: MUFU (0x508000000047090b)
float tmp308 = (utof(0x3f800000u) / gpr_9_fragment);
gpr_11_fragment = tmp308;
}
case 0x335u: {
// 821: FMNMX_R (0x5c60178000a7ff0a)
gpr_10_fragment = (!(true) ? min(0, gpr_10_fragment) : max(0, gpr_10_fragment));
}
case 0x336u: {
}
case 0x337u: {
// 823: FADD_R (0x5c58300000870508)
float tmp309 = (-(gpr_8_fragment));
float tmp310 = (gpr_5_fragment + tmp309);
gpr_8_fragment = tmp310;
}
case 0x338u: {
// 824: MOV32_IMM (0x010404000007f005)
gpr_5_fragment = utof(0x40400000u);
}
case 0x339u: {
// 825: FADD_R (0x5c58300000670306)
float tmp311 = (-(gpr_6_fragment));
float tmp312 = (gpr_3_fragment + tmp311);
gpr_6_fragment = tmp312;
}
case 0x33au: {
}
case 0x33bu: {
// 827: FADD_R (0x5c58300000470204)
float tmp313 = (-(gpr_4_fragment));
float tmp314 = (gpr_2_fragment + tmp313);
gpr_4_fragment = tmp314;
}
case 0x33cu: {
// 828: MOV_C (0x4c98078c00d70003)
gpr_3_fragment = cbuf_3_fragment[3][1];
}
case 0x33du: {
// 829: FFMA_RC (0x51a0060c00a70a02)
float tmp315 = fma(gpr_10_fragment, gpr_12_fragment, cbuf_3_fragment[2][2]);
gpr_2_fragment = tmp315;
}
case 0x33eu: {
}
case 0x33fu: {
// 831: FFMA_IMM (0x32a202c0c0070808)
float tmp316 = (-(gpr_5_fragment));
float tmp317 = fma(gpr_8_fragment, utof(0x40c00000u), tmp316);
gpr_8_fragment = tmp317;
}
case 0x340u: {
// 832: FFMA_IMM (0x32a202c0c0070606)
float tmp318 = (-(gpr_5_fragment));
float tmp319 = fma(gpr_6_fragment, utof(0x40c00000u), tmp318);
gpr_6_fragment = tmp319;
}
case 0x341u: {
// 833: FFMA_IMM (0x32a202c0c0070404)
float tmp320 = (-(gpr_5_fragment));
float tmp321 = fma(gpr_4_fragment, utof(0x40c00000u), tmp320);
gpr_4_fragment = tmp321;
}
case 0x342u: {
}
case 0x343u: {
// 835: FFMA_RC (0x51a0018c00c70a0a)
float tmp322 = fma(gpr_10_fragment, gpr_3_fragment, cbuf_3_fragment[3][0]);
gpr_10_fragment = tmp322;
}
case 0x344u: {
// 836: FFMA_RR (0x59a0010000b70101)
float tmp323 = fma(gpr_1_fragment, gpr_11_fragment, gpr_2_fragment);
gpr_1_fragment = tmp323;
}
case 0x345u: {
// 837: FADD_IMM (0x395c503f80070808)
float tmp324 = abs(gpr_8_fragment);
float tmp325 = (tmp324 + utof(0xbf800000u));
gpr_8_fragment = clamp(tmp325, utof(0u), utof(0x3f800000u));
}
case 0x346u: {
}
case 0x347u: {
// 839: FADD_IMM (0x395c503f80070606)
float tmp326 = abs(gpr_6_fragment);
float tmp327 = (tmp326 + utof(0xbf800000u));
gpr_6_fragment = clamp(tmp327, utof(0u), utof(0x3f800000u));
}
case 0x348u: {
// 840: FADD_IMM (0x395c503f80070404)
float tmp328 = abs(gpr_4_fragment);
float tmp329 = (tmp328 + utof(0xbf800000u));
gpr_4_fragment = clamp(tmp329, utof(0u), utof(0x3f800000u));
}
case 0x349u: {
// 841: FADD_R (0x5c58100000a70000)
float tmp330 = (gpr_0_fragment + gpr_10_fragment);
gpr_0_fragment = tmp330;
}
case 0x34au: {
}
case 0x34bu: {
// 843: FFMA_RR (0x59a2008000170802)
float tmp331 = (-(gpr_1_fragment));
float tmp332 = fma(gpr_8_fragment, gpr_1_fragment, tmp331);
gpr_2_fragment = tmp332;
}
case 0x34cu: {
// 844: FFMA_RR (0x59a2008000170606)
float tmp333 = (-(gpr_1_fragment));
float tmp334 = fma(gpr_6_fragment, gpr_1_fragment, tmp333);
gpr_6_fragment = tmp334;
}
case 0x34du: {
// 845: FFMA_RR (0x59a2008000170401)
float tmp335 = (-(gpr_1_fragment));
float tmp336 = fma(gpr_4_fragment, gpr_1_fragment, tmp335);
gpr_1_fragment = tmp336;
}
case 0x34eu: {
}
case 0x34fu: {
// 847: FFMA_RR (0x59a000000027000d)
float tmp337 = fma(gpr_0_fragment, gpr_2_fragment, gpr_0_fragment);
gpr_13_fragment = tmp337;
}
case 0x350u: {
// 848: FFMA_RR (0x59a0000000670008)
float tmp338 = fma(gpr_0_fragment, gpr_6_fragment, gpr_0_fragment);
gpr_8_fragment = tmp338;
}
case 0x351u: {
// 849: FFMA_RR (0x59a0000000170009)
float tmp339 = fma(gpr_0_fragment, gpr_1_fragment, gpr_0_fragment);
gpr_9_fragment = tmp339;
}
case 0x352u: {
}
case 0x353u: {
// 851: MOV_C (0x4c98078c00870000)
gpr_0_fragment = cbuf_3_fragment[2][0];
}
case 0x354u: {
// 852: ISETP_IMM (0x3665038000170007)
pred_0_fragment = ((ftoi(gpr_0_fragment) == ftoi(utof(1u))) && true);
}
case 0x355u: {
// 853: ISETP_C (0x4b6b038c0197ff0f)
pred_1_fragment = ((ftoi(0) != ftoi(cbuf_3_fragment[6][1])) && true);
}
case 0x356u: {
}
case 0x357u: {
// 855: FMUL32_IMM (0x1e23eb6b6b700800)
if (pred_0_fragment) {
float tmp340 = (gpr_8_fragment * utof(0x3eb6b6b7u));
gpr_0_fragment = tmp340;
}
}
case 0x358u: {
// 856: FFMA_CR (0x49a0000400600900)
if (pred_0_fragment) {
float tmp341 = fma(gpr_9_fragment, cbuf_1_fragment[1][2], gpr_0_fragment);
gpr_0_fragment = tmp341;
}
}
case 0x359u: {
// 857: FFMA_CR (0x49a0000400700d08)
if (pred_0_fragment) {
float tmp342 = fma(gpr_13_fragment, cbuf_1_fragment[1][3], gpr_0_fragment);
gpr_8_fragment = tmp342;
}
}
case 0x35au: {
}
case 0x35bu: {
// 859: MOV_R (0x5c9807800080000d)
if (pred_0_fragment) {
gpr_13_fragment = gpr_8_fragment;
}
}
case 0x35cu: {
// 860: MOV_R (0x5c98078000800009)
if (pred_0_fragment) {
gpr_9_fragment = gpr_8_fragment;
}
}
case 0x35du: {
// 861: BRA (0xe24000000189000f)
if (!(pred_1_fragment)) {
jmp_to = 0x361u;
break;
}
}
case 0x35eu: {
}
case 0x35fu: {
// 863: TEXS (0xd94200e0d0d70808)
gpr_256_fragment = texture(sampler_3_fragment, vec3(gpr_8_fragment, gpr_9_fragment, gpr_13_fragment)).x;
gpr_257_fragment = texture(sampler_3_fragment, vec3(gpr_8_fragment, gpr_9_fragment, gpr_13_fragment)).y;
gpr_258_fragment = texture(sampler_3_fragment, vec3(gpr_8_fragment, gpr_9_fragment, gpr_13_fragment)).z;
gpr_8_fragment = gpr_256_fragment;
gpr_9_fragment = gpr_257_fragment;
gpr_13_fragment = gpr_258_fragment;
}
case 0x360u: {
}
case 0x361u: {
// 865: MOV_R (0x5c9807800087000f)
gpr_15_fragment = gpr_8_fragment;
}
case 0x362u: {
}
case 0x363u: {
// 867: MOV_R (0x5c9807800097000c)
gpr_12_fragment = gpr_9_fragment;
}
case 0x364u: {
// 868: MOV_R (0x5c9807800077000e)
gpr_14_fragment = gpr_7_fragment;
}
case 0x365u: {
// 869: MOV_R (0x5c98078000f70000)
gpr_0_fragment = gpr_15_fragment;
}
case 0x366u: {
}
case 0x367u: {
// 871: MOV_R (0x5c98078000c70001)
gpr_1_fragment = gpr_12_fragment;
}
case 0x368u: {
// 872: MOV_R (0x5c98078000d70002)
gpr_2_fragment = gpr_13_fragment;
}
case 0x369u: {
// 873: MOV_R (0x5c98078000e70003)
gpr_3_fragment = gpr_14_fragment;
}
case 0x36au: {
}
case 0x36bu: {
// 875: EXIT (0xe30000000007000f)
FragColor0[0] = gpr_0_fragment;
FragColor0[1] = gpr_1_fragment;
FragColor0[2] = gpr_2_fragment;
FragColor0[3] = gpr_3_fragment;
return;
}
case 0x36cu: {
// 876: BRA (0xe2400fffff87000f)
jmp_to = 0x36cu;
break;
}
default: return;
}
}
}
void main() {
execute_fragment();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment