summaryrefslogtreecommitdiffstats
path: root/ComputeShaders/add.hlsl
diff options
context:
space:
mode:
authorKonstantin <const@const.me>2023-01-16 14:52:43 +0100
committerKonstantin <const@const.me>2023-01-16 14:52:43 +0100
commit8c4603c73675958efc960fbd4bb599a2909d106a (patch)
tree714dc6fc9a1672d5fd7f89676b97e10959662abc /ComputeShaders/add.hlsl
parent990a8d0dbaefc996244097397259e92758b15cce (diff)
Source codes
Diffstat (limited to 'ComputeShaders/add.hlsl')
-rw-r--r--ComputeShaders/add.hlsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/ComputeShaders/add.hlsl b/ComputeShaders/add.hlsl
new file mode 100644
index 0000000..819443e
--- /dev/null
+++ b/ComputeShaders/add.hlsl
@@ -0,0 +1,6 @@
+inline float compute( float a, float b )
+{
+ return a + b;
+}
+
+#include "componentwiseBinaryOp.hlsli" \ No newline at end of file