summaryrefslogtreecommitdiffstats
path: root/Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl
diff options
context:
space:
mode:
authorRobert Goulet <robert.goulet@autodesk.com>2015-01-26 19:16:42 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-28 14:29:50 (GMT)
commit4775c90145da7ec8a5a87ce5b8b88dc4fc8c1925 (patch)
treeb170136fef685ce53b85e1c7637583f875333966 /Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl
parenta47b904db242abb903a968bd6109bc8a07d3c39a (diff)
downloadCMake-4775c90145da7ec8a5a87ce5b8b88dc4fc8c1925.zip
CMake-4775c90145da7ec8a5a87ce5b8b88dc4fc8c1925.tar.gz
CMake-4775c90145da7ec8a5a87ce5b8b88dc4fc8c1925.tar.bz2
VS: Add source file property to set extra hlsl shader flags
Create a VS_SHADER_FLAGS source file property so that we can set all other Visual Studio .hlsl shader file compilation flags.
Diffstat (limited to 'Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl')
-rw-r--r--Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl b/Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl
index 6796da1..b2fe7be 100644
--- a/Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl
+++ b/Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl
@@ -1,3 +1,7 @@
+#if !defined(FLAGS_ADDED)
+# error FLAGS_ADDED not defined
+#endif
+
struct PixelShaderInput
{
float4 pos : SV_POSITION;