// // Generated by Microsoft (R) HLSL Shader Compiler 9.25.950.2675 // // using 3Dmigoto v1.3.16 on Wed Feb 09 18:55:48 2022 // // // Resource Bindings: // // Name Type Format Dim Slot Elements // ------------------------------ ---------- ------- ----------- ---- -------- // SampleTextureFromInterpolatorUV1_Sampler sampler NA NA 0 1 // SampleTextureFromInterpolatorUV1_Sampler texture float4 2d 0 1 // // // // Input signature: // // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // SV_POSITION 0 xyzw 0 POS float // TEXCOORD 0 xyzw 1 NONE float // TEXCOORD 1 xy 2 NONE float xy // TEXCOORD 2 xyzw 3 NONE float w // TEXCOORD 3 xyzw 4 NONE float w // // // Output signature: // // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // SV_Target 0 xyzw 0 TARGET float xyzw // // // Sampler/Resource to DX9 shader sampler mappings: // // Target Sampler Source Sampler Source Resource // -------------- --------------- ---------------- // s0 s0 t0 // // // Level9 shader bytecode: // ps_2_0 def c0, 0.0404499993, 0.0773993805, 0.0549999997, 0.947867274 def c1, 2.4000001, 0, 0, 0 dcl t1.xy dcl t2 dcl t3 dcl_2d s0 texld r0, t1, s0 mov r0.w, t2.w mul r1.w, r0.w, t3.w add r0.w, r0.x, c0.z mul r0.w, r0.w, c0.w pow r2.w, r0.w, c1.x add r0.w, -r0.x, c0.x mul r0.x, r0.x, c0.y cmp r1.x, r0.w, r0.x, r2.w add r0.x, r0.y, c0.z mul r0.x, r0.x, c0.w pow r2.x, r0.x, c1.x add r0.x, -r0.y, c0.x mul r0.y, r0.y, c0.y cmp r1.y, r0.x, r0.y, r2.x add r0.x, r0.z, c0.z mul r0.x, r0.x, c0.w pow r2.x, r0.x, c1.x add r0.x, -r0.z, c0.x mul r0.y, r0.z, c0.y cmp r1.z, r0.x, r0.y, r2.x mov oC0, r1 // approximately 28 instruction slots used (1 texture, 27 arithmetic) ps_4_0 dcl_sampler s0, mode_default dcl_resource_texture2d (float,float,float,float) t0 dcl_input_ps linear v2.xy dcl_input_ps linear v3.w dcl_input_ps linear v4.w dcl_output o0.xyzw dcl_temps 3 sample r0.xyzw, v2.xyxx, t0.xyzw, s0 add r1.xyz, r0.xyzx, l(0.055000, 0.055000, 0.055000, 0.000000) mul r1.xyz, r1.xyzx, l(0.947867274, 0.947867274, 0.947867274, 0.000000) log r1.xyz, r1.xyzx mul r1.xyz, r1.xyzx, l(2.400000, 2.400000, 2.400000, 0.000000) exp r1.xyz, r1.xyzx ge r2.xyz, l(0.040450, 0.040450, 0.040450, 0.000000), r0.xyzx mul r0.xyz, r0.xyzx, l(0.0773993805, 0.0773993805, 0.0773993805, 0.000000) movc o0.xyz, r2.xyzx, r0.xyzx, r1.xyzx mul o0.w, v3.w, v4.w ret // Approximately 11 instruction slots used