mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 16:18:43 -05:00
2a224b4ce3
Create properties VS_SHADER_ENTRYPOINT and VS_SHADER_MODEL. Without these many .hlsl source files may not be possible to use. Extend the VSWinStorePhone test project to cover them.
11 lines
172 B
HLSL
11 lines
172 B
HLSL
struct PixelShaderInput
|
|
{
|
|
float4 pos : SV_POSITION;
|
|
float3 color : COLOR0;
|
|
};
|
|
|
|
float4 mainPS(PixelShaderInput input) : SV_TARGET
|
|
{
|
|
return float4(input.color,1.0f);
|
|
}
|