aboutsummaryrefslogtreecommitdiff
path: root/demo/d3d/shaders/debugLinePS.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'demo/d3d/shaders/debugLinePS.hlsl')
-rw-r--r--demo/d3d/shaders/debugLinePS.hlsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/demo/d3d/shaders/debugLinePS.hlsl b/demo/d3d/shaders/debugLinePS.hlsl
new file mode 100644
index 0000000..d01847b
--- /dev/null
+++ b/demo/d3d/shaders/debugLinePS.hlsl
@@ -0,0 +1,10 @@
+struct Input
+{
+ float4 position : SV_POSITION;
+ float4 color : COLOR;
+};
+
+float4 debugLinePS(Input input) : SV_TARGET
+{
+ return input.color;
+}