From: Ian Romanick Date: Tue, 23 Mar 2010 18:57:24 +0000 (-0700) Subject: Rename test GLSL sources from .txt to .glsl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=693bb11b5f817b6a299f03acaf50fc3264c853d0;p=mesa.git Rename test GLSL sources from .txt to .glsl --- diff --git a/tests/parameters-01.glsl b/tests/parameters-01.glsl new file mode 100644 index 00000000000..f0beb6c35d1 --- /dev/null +++ b/tests/parameters-01.glsl @@ -0,0 +1,9 @@ +void a() +{ + ; +} + +void a() +{ + ; +} diff --git a/tests/parameters-01.txt b/tests/parameters-01.txt deleted file mode 100644 index f0beb6c35d1..00000000000 --- a/tests/parameters-01.txt +++ /dev/null @@ -1,9 +0,0 @@ -void a() -{ - ; -} - -void a() -{ - ; -} diff --git a/tests/parameters-02.glsl b/tests/parameters-02.glsl new file mode 100644 index 00000000000..58f44e532e1 --- /dev/null +++ b/tests/parameters-02.glsl @@ -0,0 +1,9 @@ +void a() +{ + ; +} + +void a(float x) +{ + ; +} diff --git a/tests/parameters-02.txt b/tests/parameters-02.txt deleted file mode 100644 index 58f44e532e1..00000000000 --- a/tests/parameters-02.txt +++ /dev/null @@ -1,9 +0,0 @@ -void a() -{ - ; -} - -void a(float x) -{ - ; -} diff --git a/tests/parameters-03.glsl b/tests/parameters-03.glsl new file mode 100644 index 00000000000..7ec30f80cc6 --- /dev/null +++ b/tests/parameters-03.glsl @@ -0,0 +1,9 @@ +/* FAIL - x is redeclared in the function body at the same scope as the + * parameter + */ +void a(float x, float y) +{ + float x; + + x = y; +} diff --git a/tests/parameters-03.txt b/tests/parameters-03.txt deleted file mode 100644 index 7ec30f80cc6..00000000000 --- a/tests/parameters-03.txt +++ /dev/null @@ -1,9 +0,0 @@ -/* FAIL - x is redeclared in the function body at the same scope as the - * parameter - */ -void a(float x, float y) -{ - float x; - - x = y; -} diff --git a/tests/void-01.glsl b/tests/void-01.glsl new file mode 100644 index 00000000000..5719edc0b6c --- /dev/null +++ b/tests/void-01.glsl @@ -0,0 +1,2 @@ +/* FAIL - cannot declare a variable as having type `void' */ +void foo; diff --git a/tests/void-01.txt b/tests/void-01.txt deleted file mode 100644 index 5719edc0b6c..00000000000 --- a/tests/void-01.txt +++ /dev/null @@ -1,2 +0,0 @@ -/* FAIL - cannot declare a variable as having type `void' */ -void foo;