glsl/tests: Add first simple tests of populate_consumer_input_sets
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Oct 2013 22:44:14 +0000 (15:44 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 May 2014 14:19:39 +0000 (07:19 -0700)
commitba7195d126ce20bf74a27725224662aaca4d90ef
treefe252be251a3c086b65a7e363a5e6b12e8f015f6
parent8f5852bd2b91df7b259e5aeafb6a62a4268ca4c4
glsl/tests: Add first simple tests of populate_consumer_input_sets

Four initial tests:

* Create an IR list with a single input variable and verify that
  variable is the only thing in the hash tables.

* Same as the previous test, but use a built-in variable
  (gl_ClipDistance) with an explicit location set.

* Create an IR list with a single input variable from an interface block
  and verify that variable is the only thing in the hash tables.

* Create an IR list with a single input variable and a single input
  variable from an interface block.  Verify that each is the only thing
  in the proper hash tables.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/Makefile.am
src/glsl/tests/varyings_test.cpp [new file with mode: 0644]