Fix GCC unused-const-variable warning.
gs-stream-location-aliasing.c:74:18: warning: ‘num_total_xfb_results’ defined
but not used [-Wunused-const-variable=]
static const int num_total_xfb_results = 2 * 2 * 2;
^~~~~~~~~~~~~~~~~~~~~
Fixes: b81ecc9d3c68 ("arb_enhanced_layouts: add test for location aliasing
across GS vertex streams")
Signed-off-by: Vinson Lee <[email protected]>
---
tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c
b/tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c
index 5bcacb0fdb37..765431e98665 100644
--- a/tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c
+++ b/tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c
@@ -71,7 +71,6 @@ static const char gs_text[] =
static const int num_in_vertices = 2;
static const int num_xfb_results_per_stream = 2 * 2;
-static const int num_total_xfb_results = 2 * 2 * 2;
static void
build_and_use_program()
--
2.9.3
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit