Advertisement
ItsTotallyRSX

Untitled

Sep 5th, 2020
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1.  
  2. //
  3. // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
  4. //
  5. // Parameters:
  6. //
  7. // float4 debugBumpmap;
  8. // sampler2D normalMapSampler;
  9. //
  10. //
  11. // Registers:
  12. //
  13. // Name Reg Size
  14. // ---------------- ----- ----
  15. // debugBumpmap c3 1
  16. // normalMapSampler s4 1
  17. //
  18.  
  19. ps_3_0
  20. def c0, 4.07999992, 4.06451607, -2.07999992, -2.06451607
  21. def c1, 1, 0.5, 0, 0
  22. dcl_texcoord v0.xy
  23. dcl_texcoord1_pp v1.xyz
  24. dcl_texcoord2_pp v2.xyz
  25. dcl_texcoord3_pp v3.xyz
  26. dcl_2d s4
  27. texld_pp r0, v0, s4
  28. mad_pp r0.xy, r0.wyzw, c0, c0.zwzw
  29. mov_pp r1.xyz, v1
  30. mad_pp r0.xzw, r0.x, r1.xyyz, v3.xyyz
  31. mad_pp r0.xyz, r0.y, v2, r0.xzww
  32. nrm_pp r1.xyz, r0
  33. mul r0.xyz, c3.y, v2
  34. mad_pp r0.xyz, v1, c3.x, r0
  35. mad_pp r0.xyz, v3, c3.z, r0
  36. mad_pp r0.xyz, r1, c3.w, r0
  37. add_pp r0.xyz, r0, c1.x
  38. mul_pp oC0.xyz, r0, c1.y
  39. mov_pp oC0.w, c1.x
  40.  
  41. // approximately 15 instruction slots used (1 texture, 14 arithmetic)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement