From b9d27f03c7cdfdb66734b5164916a501dd787036 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Wed, 26 Aug 2015 12:05:13 +0100 Subject: tools/null_state_gen: fix various compiler warnings Add the debug and warning flags to cflags and fix the resulting issues. Signed-off-by: Thomas Wood --- tools/null_state_gen/intel_renderstate.h | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tools/null_state_gen/intel_renderstate.h (limited to 'tools/null_state_gen/intel_renderstate.h') diff --git a/tools/null_state_gen/intel_renderstate.h b/tools/null_state_gen/intel_renderstate.h new file mode 100644 index 000000000..b27b4346f --- /dev/null +++ b/tools/null_state_gen/intel_renderstate.h @@ -0,0 +1,34 @@ +/* + * Copyright © 2015 Intel Corporation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ + +#ifndef __INTEL_RENDERSTATE_H__ +#define __INTEL_RENDERSTATE_H__ + +#include "intel_batchbuffer.h" + +void gen6_setup_null_render_state(struct intel_batchbuffer *batch); +void gen7_setup_null_render_state(struct intel_batchbuffer *batch); +void gen8_setup_null_render_state(struct intel_batchbuffer *batch); +void gen9_setup_null_render_state(struct intel_batchbuffer *batch); + +#endif /* __INTEL_RENDERSTATE_H__ */ -- cgit v1.2.3