pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

razvan1024 private pastebin - collaborative debugging tool What's a private pastebin?


Posted by Razvan Aguridan on Sun 25 Oct 16:18
report abuse | download | new post

  1. struct VS_OUTPUT
  2. {
  3.         float4 Pos:SV_POSITION;
  4.         float4 Col:COLOR0;
  5. };
  6.  
  7. VS_OUTPUT vs_main(float4 Position:POSITION, float4 Color:COLOR0)
  8. {
  9.         VS_OUTPUT ret_var;
  10.        
  11.         ret_var.Pos = float4(Position.xy,0.5,1);
  12.         ret_var.Col = Color;
  13.        
  14.         return ret_var;
  15. }
  16.  
  17. float4 ps_main(VS_OUTPUT Input):SV_TARGET
  18. {
  19.         return float4(1,0,0,1);
  20. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post