[opengtl-commits] [696] add a test for hints |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 696
Author: cyrille
Date: 2009-03-26 13:08:14 +0100 (Thu, 26 Mar 2009)
Log Message:
-----------
add a test for hints
Modified Paths:
--------------
trunk/OpenGTL/OpenShiva/tests/parse/CMakeLists.txt
Added Paths:
-----------
trunk/OpenGTL/OpenShiva/tests/parse/hints.shiva
Modified: trunk/OpenGTL/OpenShiva/tests/parse/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenShiva/tests/parse/CMakeLists.txt 2009-03-26 10:47:52 UTC (rev 695)
+++ trunk/OpenGTL/OpenShiva/tests/parse/CMakeLists.txt 2009-03-26 12:08:14 UTC (rev 696)
@@ -8,6 +8,7 @@
multipledependent.shiva
dependentarray.shiva
cstyleconvertinexpressions.shiva
+ hints.shiva
)
FOREACH( TEST_FILE ${TESTS_FILES} )
Added: trunk/OpenGTL/OpenShiva/tests/parse/hints.shiva
===================================================================
--- trunk/OpenGTL/OpenShiva/tests/parse/hints.shiva (rev 0)
+++ trunk/OpenGTL/OpenShiva/tests/parse/hints.shiva 2009-03-26 12:08:14 UTC (rev 696)
@@ -0,0 +1,9 @@
+kernel hints
+{
+ void evaluatePixel(input image source1, output pixel result)
+ {
+ float width = IMAGE_WIDTH;
+ float height = IMAGE_HEIGHT;
+ float2 imsize = IMAGE_SIZE;
+ }
+}