diff options
Diffstat (limited to 'src/generated/CalcGradient_ps_3_0.h')
| -rw-r--r-- | src/generated/CalcGradient_ps_3_0.h | 207 |
1 files changed, 207 insertions, 0 deletions
diff --git a/src/generated/CalcGradient_ps_3_0.h b/src/generated/CalcGradient_ps_3_0.h new file mode 100644 index 0000000..b261254 --- /dev/null +++ b/src/generated/CalcGradient_ps_3_0.h @@ -0,0 +1,207 @@ +#if 0 +// +// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384 +// +// Parameters: +// +// float4 nv_waveworks_impl_0_1; +// float4 nv_waveworks_impl_0_2; +// float4 nv_waveworks_impl_0_3; +// float4 nv_waveworks_impl_0_4; +// float4 nv_waveworks_impl_0_5; +// sampler2D nv_waveworks_impl_0_7; +// +// +// Registers: +// +// Name Reg Size +// --------------------- ----- ---- +// nv_waveworks_impl_0_1 c0 1 +// nv_waveworks_impl_0_2 c1 1 +// nv_waveworks_impl_0_3 c2 1 +// nv_waveworks_impl_0_4 c3 1 +// nv_waveworks_impl_0_5 c4 1 +// nv_waveworks_impl_0_7 s0 1 +// + + ps_3_0 + def c5, 1, 0.00999999978, 100, 0 + dcl_texcoord v0.xy + dcl_2d s0 + add r0.xy, c1, v0 + texld r0, r0, s0 + add r1.xy, c2, v0 + texld r1, r1, s0 + add r0, -r0.zxxy, r1.zxxy + mov r1.x, c5.x + mad r0.yz, c0.xyxw, r0, r1.x + add r1.y, -r0.y, c5.y + rcp r0.y, r0.y + cmp r0.y, r1.y, c5.z, r0.y + mul oC0.x, r0.y, -r0.x + mul r0.x, r0.w, c0.x + add r0.yw, c3.xxzy, v0.xxzy + texld r2, r0.ywzw, s0 + add r0.yw, c4.xxzy, v0.xxzy + texld r3, r0.ywzw, s0 + add r2, -r2.zyxy, r3.zyxy + mad r0.yw, c0.xyzx, r2, r1.x + add r1.x, -r0.y, c5.y + rcp r0.y, r0.y + cmp r0.y, r1.x, c5.z, r0.y + mul oC0.y, r0.y, -r2.x + mul r0.y, r2.z, c0.x + mul r0.x, r0.y, r0.x + mad oC0.z, r0.z, r0.w, -r0.x + mov oC0.w, c5.w + +// approximately 26 instruction slots used (4 texture, 22 arithmetic) +#endif + +const BYTE g_ps30_ps[] = +{ + 0, 3, 255, 255, 254, 255, + 95, 0, 67, 84, 65, 66, + 28, 0, 0, 0, 67, 1, + 0, 0, 0, 3, 255, 255, + 6, 0, 0, 0, 28, 0, + 0, 0, 0, 1, 0, 0, + 60, 1, 0, 0, 148, 0, + 0, 0, 2, 0, 0, 0, + 1, 0, 2, 0, 172, 0, + 0, 0, 0, 0, 0, 0, + 188, 0, 0, 0, 2, 0, + 1, 0, 1, 0, 6, 0, + 172, 0, 0, 0, 0, 0, + 0, 0, 210, 0, 0, 0, + 2, 0, 2, 0, 1, 0, + 10, 0, 172, 0, 0, 0, + 0, 0, 0, 0, 232, 0, + 0, 0, 2, 0, 3, 0, + 1, 0, 14, 0, 172, 0, + 0, 0, 0, 0, 0, 0, + 254, 0, 0, 0, 2, 0, + 4, 0, 1, 0, 18, 0, + 172, 0, 0, 0, 0, 0, + 0, 0, 20, 1, 0, 0, + 3, 0, 0, 0, 1, 0, + 2, 0, 44, 1, 0, 0, + 0, 0, 0, 0, 110, 118, + 95, 119, 97, 118, 101, 119, + 111, 114, 107, 115, 95, 105, + 109, 112, 108, 95, 48, 95, + 49, 0, 171, 171, 1, 0, + 3, 0, 1, 0, 4, 0, + 1, 0, 0, 0, 0, 0, + 0, 0, 110, 118, 95, 119, + 97, 118, 101, 119, 111, 114, + 107, 115, 95, 105, 109, 112, + 108, 95, 48, 95, 50, 0, + 110, 118, 95, 119, 97, 118, + 101, 119, 111, 114, 107, 115, + 95, 105, 109, 112, 108, 95, + 48, 95, 51, 0, 110, 118, + 95, 119, 97, 118, 101, 119, + 111, 114, 107, 115, 95, 105, + 109, 112, 108, 95, 48, 95, + 52, 0, 110, 118, 95, 119, + 97, 118, 101, 119, 111, 114, + 107, 115, 95, 105, 109, 112, + 108, 95, 48, 95, 53, 0, + 110, 118, 95, 119, 97, 118, + 101, 119, 111, 114, 107, 115, + 95, 105, 109, 112, 108, 95, + 48, 95, 55, 0, 171, 171, + 4, 0, 12, 0, 1, 0, + 1, 0, 1, 0, 0, 0, + 0, 0, 0, 0, 112, 115, + 95, 51, 95, 48, 0, 77, + 105, 99, 114, 111, 115, 111, + 102, 116, 32, 40, 82, 41, + 32, 72, 76, 83, 76, 32, + 83, 104, 97, 100, 101, 114, + 32, 67, 111, 109, 112, 105, + 108, 101, 114, 32, 54, 46, + 51, 46, 57, 54, 48, 48, + 46, 49, 54, 51, 56, 52, + 0, 171, 171, 171, 81, 0, + 0, 5, 5, 0, 15, 160, + 0, 0, 128, 63, 10, 215, + 35, 60, 0, 0, 200, 66, + 0, 0, 0, 0, 31, 0, + 0, 2, 5, 0, 0, 128, + 0, 0, 3, 144, 31, 0, + 0, 2, 0, 0, 0, 144, + 0, 8, 15, 160, 2, 0, + 0, 3, 0, 0, 3, 128, + 1, 0, 228, 160, 0, 0, + 228, 144, 66, 0, 0, 3, + 0, 0, 15, 128, 0, 0, + 228, 128, 0, 8, 228, 160, + 2, 0, 0, 3, 1, 0, + 3, 128, 2, 0, 228, 160, + 0, 0, 228, 144, 66, 0, + 0, 3, 1, 0, 15, 128, + 1, 0, 228, 128, 0, 8, + 228, 160, 2, 0, 0, 3, + 0, 0, 15, 128, 0, 0, + 66, 129, 1, 0, 66, 128, + 1, 0, 0, 2, 1, 0, + 1, 128, 5, 0, 0, 160, + 4, 0, 0, 4, 0, 0, + 6, 128, 0, 0, 196, 160, + 0, 0, 228, 128, 1, 0, + 0, 128, 2, 0, 0, 3, + 1, 0, 2, 128, 0, 0, + 85, 129, 5, 0, 85, 160, + 6, 0, 0, 2, 0, 0, + 2, 128, 0, 0, 85, 128, + 88, 0, 0, 4, 0, 0, + 2, 128, 1, 0, 85, 128, + 5, 0, 170, 160, 0, 0, + 85, 128, 5, 0, 0, 3, + 0, 8, 1, 128, 0, 0, + 85, 128, 0, 0, 0, 129, + 5, 0, 0, 3, 0, 0, + 1, 128, 0, 0, 255, 128, + 0, 0, 0, 160, 2, 0, + 0, 3, 0, 0, 10, 128, + 3, 0, 96, 160, 0, 0, + 96, 144, 66, 0, 0, 3, + 2, 0, 15, 128, 0, 0, + 237, 128, 0, 8, 228, 160, + 2, 0, 0, 3, 0, 0, + 10, 128, 4, 0, 96, 160, + 0, 0, 96, 144, 66, 0, + 0, 3, 3, 0, 15, 128, + 0, 0, 237, 128, 0, 8, + 228, 160, 2, 0, 0, 3, + 2, 0, 15, 128, 2, 0, + 70, 129, 3, 0, 70, 128, + 4, 0, 0, 4, 0, 0, + 10, 128, 0, 0, 36, 160, + 2, 0, 228, 128, 1, 0, + 0, 128, 2, 0, 0, 3, + 1, 0, 1, 128, 0, 0, + 85, 129, 5, 0, 85, 160, + 6, 0, 0, 2, 0, 0, + 2, 128, 0, 0, 85, 128, + 88, 0, 0, 4, 0, 0, + 2, 128, 1, 0, 0, 128, + 5, 0, 170, 160, 0, 0, + 85, 128, 5, 0, 0, 3, + 0, 8, 2, 128, 0, 0, + 85, 128, 2, 0, 0, 129, + 5, 0, 0, 3, 0, 0, + 2, 128, 2, 0, 170, 128, + 0, 0, 0, 160, 5, 0, + 0, 3, 0, 0, 1, 128, + 0, 0, 85, 128, 0, 0, + 0, 128, 4, 0, 0, 4, + 0, 8, 4, 128, 0, 0, + 170, 128, 0, 0, 255, 128, + 0, 0, 0, 129, 1, 0, + 0, 2, 0, 8, 8, 128, + 5, 0, 255, 160, 255, 255, + 0, 0 +}; |