triangle.fx 181 B

123456789
  1. float4 VShader(float4 position : POSITION) : SV_POSITION
  2. {
  3. return position;
  4. }
  5. float4 PShader(float4 position : SV_POSITION) : SV_Target
  6. {
  7. return float4(1.0f, 1.0f, 0.0f, 1.0f);
  8. }