Are you using shader debugging?
Go to All Programs>DirectX SDK>DirectX Utilities>DirectX Control Panel
then check "enable shader debugging"
I don't know much about how shaders have to be set up for GDK, but you should replace this line:
colour = float4(1.0, 0.0, 0.0, 1.0);
with this
colour.Col = float4(1.0, 0.0, 0.0, 1.0);
And you've put
PS_INPUT ps(VS_OUT IN): COLOR
but the semantic is handled by the struct, so you just need
PS_INPUT ps(VS_OUT IN)
Actually, the whole struct is unnecessary because the only thing a pixel shader can output is one float4, so you just put:
float4 ps(VS_OUT IN): COLOR
{
float4 colour = float4(1.0, 0.0, 0.0, 1.0);
return colour;
};
p.s. you spelt colour with a u
I always do that, I bet it will annoy 'mericans when i get into professional programming.