[Piglit] [PATCH 3/3] arb_shader_subroutine: Fix missing main() in some linker tests

Chris Forbes chrisf at ijw.co.nz
Sun Aug 10 05:35:39 PDT 2014


Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
---
 tests/spec/arb_shader_subroutine/linker/no-overloads.vert     | 2 ++
 tests/spec/arb_shader_subroutine/linker/shared-namespace.vert | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tests/spec/arb_shader_subroutine/linker/no-overloads.vert b/tests/spec/arb_shader_subroutine/linker/no-overloads.vert
index 5a95500..e029ebe 100644
--- a/tests/spec/arb_shader_subroutine/linker/no-overloads.vert
+++ b/tests/spec/arb_shader_subroutine/linker/no-overloads.vert
@@ -17,3 +17,5 @@ subroutine void func_type();
 
 subroutine (func_type) void f() {}
 void f(int x) {}
+
+void main() {}
diff --git a/tests/spec/arb_shader_subroutine/linker/shared-namespace.vert b/tests/spec/arb_shader_subroutine/linker/shared-namespace.vert
index 2e19fc0..156a7fe 100644
--- a/tests/spec/arb_shader_subroutine/linker/shared-namespace.vert
+++ b/tests/spec/arb_shader_subroutine/linker/shared-namespace.vert
@@ -14,3 +14,5 @@ subroutine void func_type();
  * type declaration
  */
 void func_type(void);
+
+void main() {}
-- 
2.0.4



More information about the Piglit mailing list