tests/cache_test: use the blob key's actual first byte
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 15 Mar 2017 23:09:28 +0000 (01:09 +0200)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 21 Mar 2017 00:15:52 +0000 (11:15 +1100)
commitaf73acca2b3f3e1adbdff62e0ca085979dc5974c
tree8f54adb1a675aef2c44bccb4ebf6cc2d8e6bce13
parent529a767041c880f90c4465cb34a89430459c7fce
tests/cache_test: use the blob key's actual first byte

There is no need to hardcode it, we can just use blob_key[0].
This is needed because the next patches are going to change how cache
keys are computed.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/tests/cache_test.c