glsl/tests/optimization-test: correctly set compare_ir
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 27 Feb 2017 18:21:36 +0000 (18:21 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 28 Mar 2017 14:31:23 +0000 (15:31 +0100)
commit9083c625f56439631b49e77a948c5a99889c0ea4
treef58feb29fa454630850b330fa6aeed83f2972ec7
parent44b642225820a8372461a14e11df60afc5cc9289
glsl/tests/optimization-test: correctly set compare_ir

Now that we have srcdir we can use it to correctly manage/point to the
script. Effectively fixing OOT invokation of `make check'.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/glsl/tests/optimization-test.sh