Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
- //
- // Parameters:
- //
- // float4 debugBumpmap;
- // sampler2D normalMapSampler;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // ---------------- ----- ----
- // debugBumpmap c3 1
- // normalMapSampler s4 1
- //
- ps_3_0
- def c0, 4.07999992, 4.06451607, -2.07999992, -2.06451607
- def c1, 1, 0.5, 0, 0
- dcl_texcoord v0.xy
- dcl_texcoord1_pp v1.xyz
- dcl_texcoord2_pp v2.xyz
- dcl_texcoord3_pp v3.xyz
- dcl_2d s4
- texld_pp r0, v0, s4
- mad_pp r0.xy, r0.wyzw, c0, c0.zwzw
- mov_pp r1.xyz, v1
- mad_pp r0.xzw, r0.x, r1.xyyz, v3.xyyz
- mad_pp r0.xyz, r0.y, v2, r0.xzww
- nrm_pp r1.xyz, r0
- mul r0.xyz, c3.y, v2
- mad_pp r0.xyz, v1, c3.x, r0
- mad_pp r0.xyz, v3, c3.z, r0
- mad_pp r0.xyz, r1, c3.w, r0
- add_pp r0.xyz, r0, c1.x
- mul_pp oC0.xyz, r0, c1.y
- mov_pp oC0.w, c1.x
- // approximately 15 instruction slots used (1 texture, 14 arithmetic)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement