summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-09-29 10:16:31 -0700
committerJordan Justen <jordan.l.justen@intel.com>2015-09-29 10:16:35 -0700
commite7780829d276c6f3e6a7f8ec1e49d8420c96435c (patch)
treeedb1ce59127f2ad16d690586b50c135c10514fd1 /tests
parentc3d89229b8208a028488128f4cb55bae33af65a3 (diff)
arb_compute_shader: Fix missed varargs termination in cs-ids-common.c
Reported-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/arb_compute_shader/cs-ids-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/spec/arb_compute_shader/cs-ids-common.c b/tests/spec/arb_compute_shader/cs-ids-common.c
index f08e886ae..4a0452d8d 100644
--- a/tests/spec/arb_compute_shader/cs-ids-common.c
+++ b/tests/spec/arb_compute_shader/cs-ids-common.c
@@ -209,7 +209,8 @@ build_program_for_size(uint32_t x, uint32_t y, uint32_t z)
if (global_id) {
src = concat(hunk("#define GLOBAL_ID_TEST\n"),
- hunk(compute_shader_source));
+ hunk(compute_shader_source),
+ NULL);
} else {
src = hunk(compute_shader_source);
}