Jump to content

  • Log In with Google      Sign In   
  • Create Account

Pixel Shader 'stage Did Not Run'

  • You cannot reply to this topic
No replies to this topic

#1 DarkRonin   Members   -  Reputation: 1006

Like
0Likes
Like

Posted Today, 02:46 AM

Hi Guys,
 
I am scratching my head with this one.
 
I have a basic pixel shader that should just fill the geometry white
 
float4 main() : SV_TARGET
{
	return float4(1.0f, 1.0f, 1.0f, 1.0f);
}
And a vertex shader that leaves the geometry un transformed
float4 main(float4 pos : POSITION) : SV_POSITION
{
	return pos;
}
I can see in the debugger that the geometry is rendering ok, but the pixel shader seems to be bypassed.

z4wgdDT.png

I can see from the debugger that the shader has loaded correctly.

I am at a loss as to why this doesn't render anything on screen.

Any advice is greatly appreciated :)
Win32 Developer
One Of Them - Martial arts game that is mid development.





PARTNERS