# Copy these files to avoid generation object files into src/mesa/program
env.Prepend(CPPPATH = ['#src/mesa/main'])
-env.Command('glsl/imports.c', '#src/mesa/main/imports.c', Copy('$TARGET', '$SOURCE'))
env.Command('glsl/extensions_table.c', '#src/mesa/main/extensions_table.c', Copy('$TARGET', '$SOURCE'))
# Copy these files to avoid generation object files into src/mesa/program
env.Prepend(CPPPATH = ['#src/mesa/program'])
mesa_objs = env.StaticObject([
'glsl/extensions_table.c',
- 'glsl/imports.c',
'glsl/symbol_table.c',
'glsl/dummy_errors.c',
])
#include "gl_nir.h"
#include "ir_uniform.h"
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
static nir_ssa_def *
#include "gl_nir.h"
#include "ir_uniform.h"
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
struct lower_samplers_as_deref_state {
#include "compiler/nir/nir_builtin_builder.h"
#include "compiler/nir/nir_deref.h"
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/shaderobj.h"
#include "util/u_math.h"
*/
#include <string.h>
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "ir.h"
#include "compiler/glsl_types.h"
#include "util/hash_table.h"
#include "util/u_string.h"
#include "util/u_math.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/shaderobj.h"
#include "main/enums.h"
#include "main/mtypes.h"
*/
#include <gtest/gtest.h>
#include "standalone_scaffolding.h"
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "ir.h"
* DEALINGS IN THE SOFTWARE.
*/
#include <gtest/gtest.h>
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "util/ralloc.h"
* DEALINGS IN THE SOFTWARE.
*/
#include <gtest/gtest.h>
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "ir.h"
* DEALINGS IN THE SOFTWARE.
*/
#include <gtest/gtest.h>
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "util/ralloc.h"
* DEALINGS IN THE SOFTWARE.
*/
#include <gtest/gtest.h>
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "ir.h"
* DEALINGS IN THE SOFTWARE.
*/
#include <gtest/gtest.h>
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "ir.h"
* DEALINGS IN THE SOFTWARE.
*/
#include <gtest/gtest.h>
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "util/ralloc.h"
* DEALINGS IN THE SOFTWARE.
*/
#include <gtest/gtest.h>
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "util/ralloc.h"
*/
#include "nir.h"
-#include <main/imports.h>
+#include <util/imports.h>
/**
* SSA-based copy propagation
#include <GL/glxproto.h>
#include "xm_api.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/errors.h"
#include "util/u_math.h"
#include "hud/hud_context.h"
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "xm_public.h"
#include <GL/glx.h>
#define BRW_REG_H
#include <stdbool.h>
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/macros.h"
#include "program/prog_instruction.h"
#include "brw_eu_defines.h"
def printRealHeader(self):
print('#include "main/glheader.h"')
print('#include "main/enums.h"')
- print('#include "main/imports.h"')
+ print('#include "util/imports.h"')
print('#include "main/mtypes.h"')
print('')
print('typedef struct PACKED {')
#include "main/genmipmap.h"
#include "main/hint.h"
#include "main/histogram.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/light.h"
#include "main/lines.h"
#include "main/matrix.h"
* can SET_FuncName, are used to get and set the dispatch pointer for the
* named function in the specified dispatch table.
*/
+
+#include "main/glheader.h"
""")
return
LOCAL_SRC_FILES := \
main/extensions_table.c \
- main/imports.c \
program/symbol_table.c \
program/dummy_errors.c
main/colortab.h \
main/compute.c \
main/compute.h \
- main/compiler.h \
main/condrender.c \
main/condrender.h \
main/config.h \
main/histogram.h \
main/image.c \
main/image.h \
- main/imports.c \
- main/imports.h \
main/light.c \
main/light.h \
main/lines.c \
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/accum.h"
#include "main/arrayobj.h"
#include "main/context.h"
#include "main/glheader.h"
#include "main/mtypes.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/arbprogram.h"
#include "main/arrayobj.h"
#include "main/blend.h"
#include "main/glheader.h"
#include "main/mtypes.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/arbprogram.h"
#include "main/arrayobj.h"
#include "main/blend.h"
#include "i830_context.h"
#include "main/api_exec.h"
#include "main/extensions.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/version.h"
#include "main/vtxfmt.h"
#include "tnl/tnl.h"
#include "main/api_exec.h"
#include "main/framebuffer.h"
#include "main/extensions.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/version.h"
#include "main/vtxfmt.h"
#include "i915_reg.h"
#include "i915_debug.h"
-#include "main/imports.h"
+#include "util/imports.h"
+#include "main/glheader.h"
static const char *opcodes[0x20] = {
"NOP",
#include "main/glheader.h"
#include "main/mtypes.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/renderbuffer.h"
#include "main/framebuffer.h"
**************************************************************************/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "main/bufferobj.h"
#include "main/extensions.h"
#include "main/fbobject.h"
#include "main/framebuffer.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/points.h"
#include "main/renderbuffer.h"
#include "main/enums.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/fbobject.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/enums.h"
* performance bottleneck, though.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "intel_context.h"
#include "intel_batchbuffer.h"
* (GL_NV_conditional_render, GL_ARB_conditional_render_inverted) on Gen7+.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/condrender.h"
#include "brw_context.h"
#include "main/fbobject.h"
#include "main/extensions.h"
#include "main/glthread.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/points.h"
#include "main/version.h"
* The driver implementation of the GL_APPLE_object_purgeable extension.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "main/bufferobj.h"
*
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/bufferobj.h"
#include "main/varray.h"
#include "vbo/vbo.h"
*/
#include <pthread.h>
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/glspirv.h"
#include "program/prog_parameter.h"
#include "program/prog_print.h"
* big we throw out all of the cache data and let it get regenerated.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/streaming-load-memcpy.h"
#include "x86/common_x86_asm.h"
#include "intel_batchbuffer.h"
* appropriately synced with the stage of the pipeline for our extensions'
* needs.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/queryobj.h"
#include "brw_context.h"
#include <libsync.h> /* Requires Android or libdrm-2.4.72 */
-#include "main/imports.h"
+#include "util/imports.h"
#include "brw_context.h"
#include "intel_batchbuffer.h"
*/
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/context.h"
#include "brw_context.h"
#include "brw_vs.h"
* GL_EXT_transform_feedback, and friends) on platforms that support
* hardware contexts (Gen6+).
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "brw_context.h"
#include "brw_defines.h"
*
* Support for query buffer objects (GL_ARB_query_buffer_object) on Haswell+.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "brw_context.h"
#include "brw_defines.h"
* This provides core GL buffer object functionality.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "main/streaming-load-memcpy.h"
*/
#include "main/enums.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/fbobject.h"
* Batched upload via BOs.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "brw_bufmgr.h"
#include "brw_context.h"
#ifndef __NOUVEAU_DRIVER_H__
#define __NOUVEAU_DRIVER_H__
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "main/formats.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/context.h"
#include "util/simple_list.h"
#include "main/api_arrayelt.h"
#include "main/api_exec.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/extensions.h"
#include "main/version.h"
#include "main/vtxfmt.h"
#include <errno.h>
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/context.h"
#include "swrast/swrast.h"
#include "main/glheader.h"
#include "main/mtypes.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/state.h"
#include <errno.h>
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "r200_context.h"
#include "r200_sanity.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/enums.h"
#include "main/light.h"
#include "main/framebuffer.h"
#include "main/errors.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/enums.h"
#include "main/api_arrayelt.h"
#include "main/state.h"
#include "main/mtypes.h"
#include "main/enums.h"
#include "main/image.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/state.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/enums.h"
#include "main/light.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/enums.h"
#include "main/image.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/state.h"
*
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/bufferobj.h"
#include <errno.h>
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/enums.h"
#include "main/fbobject.h"
#include "main/api_exec.h"
#include "main/context.h"
#include "util/simple_list.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/extensions.h"
#include "main/version.h"
#include "main/vtxfmt.h"
**************************************************************************/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/enums.h"
#include "c99_math.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/mtypes.h"
#include "main/enums.h"
#include "swrast/swrast.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "util/simple_list.h"
#include "radeon_context.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/macros.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/state.h"
#include "radeon_queryobj.h"
#include "radeon_debug.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/queryobj.h"
#include <inttypes.h>
*
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "util/simple_list.h"
#include "radeon_common_context.h"
#include <errno.h>
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/framebuffer.h"
#include "main/renderbuffer.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/enums.h"
#include "main/light.h"
#include "main/context.h"
#include "main/errors.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/api_arrayelt.h"
#include "swrast/swrast.h"
#include "main/glheader.h"
#include "main/mtypes.h"
#include "main/enums.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/state.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/light.h"
#include "main/enums.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/enums.h"
#include "main/image.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/teximage.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/enums.h"
#include "main/mipmap.h"
#include "main/fbobject.h"
#include "main/formats.h"
#include "main/framebuffer.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/renderbuffer.h"
#include "main/version.h"
#include "main/vtxfmt.h"
#include "main/extensions.h"
#include "main/formats.h"
#include "main/framebuffer.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/mipmap.h"
#include "main/mtypes.h"
#include "main/context.h"
#include "main/config.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/version.h"
#include "xfonts.h"
#include <stdio.h>
#include "glxheader.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "xfonts.h"
#include "main/context.h"
#include "main/extensions.h"
#include "main/framebuffer.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/renderbuffer.h"
#include "main/teximage.h"
#include "glxheader.h"
#include "xmesaP.h"
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/formats.h"
#include "main/framebuffer.h"
#include "main/renderbuffer.h"
#include "main/macros.h"
#include "main/mipmap.h"
#include "main/image.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/pbo.h"
#include "main/texformat.h"
#include <stdio.h>
#include "c99_math.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "glxheader.h"
#include "xmesaP.h"
#include "format_unpack.h"
#include "format_pack.h"
#include "framebuffer.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "state.h"
#include "mtypes.h"
#include "api_arrayelt.h"
#include "bufferobj.h"
#include "context.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "mtypes.h"
#include "main/dispatch.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/hash.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/arbprogram.h"
#include "glheader.h"
#include "hash.h"
#include "image.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "bufferobj.h"
#include "arrayobj.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/hash.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/enums.h"
#include "main/mtypes.h"
*/
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "accum.h"
#include "arrayobj.h"
#include "attrib.h"
#include "glheader.h"
#include "enums.h"
#include "hash.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "bufferobj.h"
#include "externalobjects.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "accum.h"
#include "api_exec.h"
#include "api_loopback.h"
#include "errors.h"
-#include "imports.h"
+#include "util/imports.h"
#include "extensions.h"
#include "mtypes.h"
#include "vbo/vbo.h"
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/cpuinfo.h"
#include "enums.h"
#include "formats.h"
#include "hash.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "debug.h"
#include "get.h"
#include "context.h"
#include "debug_output.h"
#include "enums.h"
-#include "imports.h"
+#include "util/imports.h"
#include "hash.h"
#include "mtypes.h"
#include "version.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "depth.h"
#include "enums.h"
#include "c99_math.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "api_arrayelt.h"
#include "api_exec.h"
#include "api_loopback.h"
#include "arrayobj.h"
#include "bufferobj.h"
#include "context.h"
-#include "imports.h"
+#include "util/imports.h"
#include "mtypes.h"
#include "pipelineobj.h"
#include "enums.h"
*/
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "draw_validate.h"
#include "bufferobj.h"
#include "context.h"
#include "main/errors.h"
#include "main/drawtex.h"
#include "main/state.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include <stdio.h>
#include "errors.h"
#include "enums.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "debug_output.h"
#include "context.h"
#include "depth.h"
#include "fog.h"
-#include "imports.h"
+#include "util/imports.h"
#include "light.h"
#include "lines.h"
#include "matrix.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "eval.h"
#include "macros.h"
#include <stdio.h>
-#include "imports.h"
+#include "util/imports.h"
+#include "main/glheader.h"
#include "execmem.h"
#include "c11/threads.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "extensions.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/samplerobj.h"
#include "main/shaderobj.h"
#define FORMAT_UTILS_H
#include "formats.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "util/rounding.h"
#include "util/half_float.h"
#include "errors.h"
-#include "imports.h"
+#include "util/imports.h"
#include "formats.h"
#include "macros.h"
#include "glformats.h"
#include <stdio.h>
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "blend.h"
#include "buffers.h"
#include "context.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "c11/threads.h"
/**
#include "enums.h"
#include "context.h"
#include "hint.h"
-#include "imports.h"
+#include "util/imports.h"
#include "mtypes.h"
#include "colormac.h"
#include "glformats.h"
#include "image.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "mtypes.h"
#include "c99_math.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "enums.h"
#include "light.h"
#include "util/macros.h"
#include "util/u_math.h"
#include "util/rounding.h"
-#include "imports.h"
+#include "util/imports.h"
+#include "main/glheader.h"
/**
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "enums.h"
#include "macros.h"
*/
#include "errors.h"
-#include "imports.h"
+#include "util/imports.h"
#include "formats.h"
#include "glformats.h"
#include "mipmap.h"
#include "glheader.h"
#include "enums.h"
#include "hash.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "bufferobj.h"
#include "fbobject.h"
#include "glheader.h"
#include "enums.h"
#include "image.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "mtypes.h"
#include "pack.h"
#include "pixeltransfer.h"
-#include "imports.h"
+#include "util/imports.h"
#include "glformats.h"
#include "format_utils.h"
#include "format_pack.h"
#include "bufferobj.h"
#include "glformats.h"
#include "image.h"
-#include "imports.h"
+#include "util/imports.h"
#include "mtypes.h"
#include "pbo.h"
#include "glheader.h"
#include "macros.h"
#include "pixeltransfer.h"
-#include "imports.h"
+#include "util/imports.h"
#include "mtypes.h"
#include "util/rounding.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "image.h"
#include "enums.h"
#include "context.h"
#include "enums.h"
#include "hash.h"
-#include "imports.h"
+#include "util/imports.h"
#include "queryobj.h"
#include "mtypes.h"
*/
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "blend.h"
#include "bufferobj.h"
#include "context.h"
#include <stdbool.h>
#include "remap.h"
-#include "imports.h"
+#include "util/imports.h"
#include "glapi/glapi.h"
#define MAX_ENTRY_POINTS 16
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "fbobject.h"
#include "formats.h"
* Shared-context state
*/
-#include "imports.h"
+#include "util/imports.h"
#include "mtypes.h"
#include "hash.h"
#include "atifragshader.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "macros.h"
#include "stencil.h"
#include <inttypes.h>
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "macros.h"
#include "get.h"
#include "GL/gl.h"
#include "GL/glext.h"
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/api_exec.h"
#include "main/context.h"
#include "main/remap.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "context.h"
#include "formats.h"
#include "mtypes.h"
#include "glheader.h"
#include "context.h"
#include "mtypes.h"
-#include "imports.h"
+#include "util/imports.h"
#include "pixelstore.h"
#include "texcompress_cpal.h"
#include "teximage.h"
#include "errors.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "image.h"
#include "macros.h"
#include "mipmap.h"
#include "config.h"
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "image.h"
#include "macros.h"
#include "mipmap.h"
*/
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "image.h"
#include "macros.h"
#include "mtypes.h"
#include "framebuffer.h"
#include "hash.h"
#include "image.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "mipmap.h"
#include "multisample.h"
#include "fbobject.h"
#include "formats.h"
#include "hash.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "shaderimage.h"
#include "teximage.h"
#include "glheader.h"
#include "context.h"
#include "enums.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "teximage.h"
#include "texobj.h"
#include "mtypes.h"
#include "pack.h"
#include "pbo.h"
-#include "imports.h"
+#include "util/imports.h"
#include "texcompress.h"
#include "texcompress_fxt1.h"
#include "texcompress_rgtc.h"
#include "glheader.h"
#include "context.h"
#include "enums.h"
-#include "imports.h"
+#include "util/imports.h"
#include "hash.h"
#include "mtypes.h"
#include "shaderimage.h"
#include "glheader.h"
#include "context.h"
#include "enums.h"
-#include "imports.h"
+#include "util/imports.h"
#include "macros.h"
#include "teximage.h"
#include "texobj.h"
#include <stdbool.h>
#include "bufferobj.h"
-#include "compiler.h"
+#include "util/compiler.h"
#include "glheader.h"
#include "mtypes.h"
#include <inttypes.h> /* for PRId64 macro */
#include "glheader.h"
-#include "imports.h"
+#include "util/imports.h"
#include "bufferobj.h"
#include "context.h"
#include "enable.h"
#include <stdio.h>
#include "context.h"
-#include "imports.h"
+#include "util/imports.h"
#include "mtypes.h"
#include "version.h"
#include "git_sha1.h"
#include "glheader.h"
#include "api_arrayelt.h"
#include "context.h"
-#include "imports.h"
+#include "util/imports.h"
#include "mtypes.h"
#include "vtxfmt.h"
#include "eval.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "m_matrix.h"
#include "m_xform.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "m_matrix.h"
#include "m_xform.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "m_matrix.h"
#include "m_xform.h"
#include "c99_math.h"
#include "main/errors.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#define MATH_ASM_PTR_SIZE sizeof(void *)
#include "math/m_vector_asm.h"
#include <stddef.h>
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "m_vector.h"
#define _M_XFORM_H
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/glheader.h"
#include "math/m_matrix.h"
#include "math/m_vector.h"
'main/colortab.h',
'main/compute.c',
'main/compute.h',
- 'main/compiler.h',
'main/condrender.c',
'main/condrender.h',
'main/config.h',
'main/histogram.h',
'main/image.c',
'main/image.h',
- 'main/imports.c',
- 'main/imports.h',
'main/light.c',
'main/light.h',
'main/lines.c',
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/mtypes.h"
#include "arbprogparse.h"
#include "main/glheader.h"
#include "main/mtypes.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/shaderobj.h"
#include "program/prog_cache.h"
#include "program/program.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "prog_instruction.h"
#include "prog_parameter.h"
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "prog_noise.h"
#define FASTFLOOR(x) ( ((x)>0) ? ((int)x) : (((int)x)-1) )
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "prog_instruction.h"
#include "prog_parameter.h"
* \author Ian Romanick <ian.d.romanick@intel.com>
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "prog_parameter.h"
#include "prog_parameter_layout.h"
#include "main/glheader.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "prog_instruction.h"
#include "prog_parameter.h"
#include "prog_print.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/blend.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/fbobject.h"
#include "compiler/nir/nir.h"
#include "compiler/nir/nir_builder.h"
#include "compiler/glsl/list.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "util/ralloc.h"
#endif
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "program/prog_instruction.h"
#include "program/prog_statevars.h"
#include "program/symbol_table.h"
#include "main/errors.h"
#include "main/mtypes.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "program/program.h"
#include "program/prog_parameter.h"
#include "program/prog_parameter_layout.h"
* DEALINGS IN THE SOFTWARE.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/errors.h"
#include "symbol_table.h"
#include "../../util/hash_table.h"
*
**************************************************************************/
-#include "main/imports.h"
+#include "util/imports.h"
#include "program/prog_parameter.h"
#include "program/prog_print.h"
#include "compiler/glsl/ir_uniform.h"
* Brian Paul
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "program/prog_parameter.h"
#include "program/prog_print.h"
#include "main/shaderapi.h"
*
**************************************************************************/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/shaderimage.h"
#include "program/prog_parameter.h"
#include "program/prog_print.h"
* Brian Paul
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/framebuffer.h"
#include "main/state.h"
*
**************************************************************************/
-#include "main/imports.h"
+#include "util/imports.h"
#include "program/prog_parameter.h"
#include "program/prog_print.h"
#include "compiler/glsl/ir_uniform.h"
*/
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/image.h"
#include "main/bufferobj.h"
#include "main/dlist.h"
* Brian Paul
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/image.h"
#include "main/macros.h"
#include <inttypes.h> /* for PRId64 macro */
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/arrayobj.h"
#include "main/bufferobj.h"
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "pipe/p_context.h"
*/
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/image.h"
#include "main/bufferobj.h"
#include "main/blit.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/image.h"
#include "main/macros.h"
#include "main/teximage.h"
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/fbobject.h"
#include "main/framebuffer.h"
* Brian Paul
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/feedback.h"
#include "main/varray.h"
* DEALINGS IN THE SOFTWARE.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/externalobjects.h"
**************************************************************************/
#include "main/bufferobj.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/framebuffer.h"
#include "state_tracker/st_cb_msaa.h"
*/
-#include "main/imports.h"
-#include "main/compiler.h"
+#include "util/imports.h"
+#include "util/compiler.h"
#include "main/context.h"
#include "main/queryobj.h"
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/arrayobj.h"
#include "main/feedback.h"
#include "main/bufferobj.h"
#include "main/image.h"
#include "main/pbo.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/readpix.h"
#include "main/enums.h"
#include "main/framebuffer.h"
* DEALINGS IN THE SOFTWARE.
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/context.h"
#ifndef ST_CB_SEMAPHOREOBJECTS_H
#define ST_CB_SEMAPHOREOBJECTS_H
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/mtypes.h"
struct dd_function_table;
#include "main/format_utils.h"
#include "main/glformats.h"
#include "main/image.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/mipmap.h"
#include "main/pack.h"
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "pipe/p_context.h"
*
**************************************************************************/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/accum.h"
#include "main/api_exec.h"
#include "main/context.h"
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/image.h"
#include "main/bufferobj.h"
#include "main/macros.h"
*
**************************************************************************/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/arrayobj.h"
#include "main/image.h"
#include "main/macros.h"
#include "compiler/nir/nir.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/spirv_extensions.h"
* \author Brian Paul
*/
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/enums.h"
#include "main/formats.h"
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mipmap.h"
#include "main/teximage.h"
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/hash.h"
#include "main/mtypes.h"
#include "program/prog_parameter.h"
#include "c99_math.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/teximage.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/state.h"
#include "s_aatriangle.h"
#include "s_context.h"
#include "main/condrender.h"
#include "main/format_pack.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "s_context.h"
*/
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/bufferobj.h"
#include "main/mtypes.h"
#include "main/samplerobj.h"
#include "main/macros.h"
#include "main/blit.h"
#include "main/pixeltransfer.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "s_context.h"
#include "s_depth.h"
#include "main/format_unpack.h"
#include "main/format_pack.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "s_context.h"
#include "s_depth.h"
#include "main/format_utils.h"
#include "main/glformats.h"
#include "main/image.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/pack.h"
#include "main/pbo.h"
#include "main/glheader.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "s_context.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/fbobject.h"
#include "main/formats.h"
#include "main/format_pack.h"
#include "main/format_unpack.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/image.h"
#include "main/samplerobj.h"
#include "main/state.h"
#include "main/glheader.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/format_pack.h"
#include "main/format_unpack.h"
#include "main/stencil.h"
#include "main/glheader.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/pixeltransfer.h"
#include "main/samplerobj.h"
#include "c99_math.h"
#include "main/glheader.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/samplerobj.h"
#include "main/teximage.h"
#include "main/glheader.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/state.h"
#include "main/errors.h"
#include "main/glheader.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/format_pack.h"
#include "s_context.h"
*/
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/state.h"
#include "tnl/tnl.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/mtypes.h"
#define _T_CONTEXT_H
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "math/m_vector.h"
#include "main/bufferobj.h"
#include "main/condrender.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "main/enums.h"
#include "main/glheader.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "t_context.h"
#include "main/bufferobj.h"
#include "main/errors.h"
#include "main/glheader.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "vbo/vbo.h"
#include "main/glheader.h"
#include "main/bufferobj.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/glformats.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/errors.h"
#include "main/glheader.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "math/m_xform.h"
#include "main/glheader.h"
#include "main/light.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "util/simple_list.h"
#include "main/mtypes.h"
#include "main/glheader.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "math/m_xform.h"
#include "main/glheader.h"
#include "main/mtypes.h"
#include "main/dd.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "t_context.h"
#include "t_pipeline.h"
#include "main/glheader.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/samplerobj.h"
#include "main/state.h"
#include "math/m_xform.h"
#include "main/context.h"
#include "main/enums.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "math/m_xform.h"
#include "util/bitscan.h"
#include "main/errors.h"
#include "main/glheader.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "math/m_xform.h"
#include "main/glheader.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "math/m_xform.h"
#include "main/glheader.h"
#include "main/macros.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/mtypes.h"
#include "math/m_xform.h"
#define VBO_EXEC_H
#include "main/dd.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "vbo.h"
#include "vbo_attrib.h"
*/
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/varray.h"
#include "main/glheader.h"
#include "main/bufferobj.h"
#include "main/context.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "main/light.h"
#include "main/state.h"
#include "main/context.h"
#include "main/glheader.h"
#include "main/enums.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/dispatch.h"
#include "glapi/glapi.h"
#endif
#include "main/errors.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "common_x86_asm.h"
#ifndef ASM_MMX_H
#define ASM_MMX_H
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/glheader.h"
struct gl_context;
#include <stdio.h>
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/execmem.h"
#include "x86sse.h"
libglsl_util = static_library(
'glsl_util',
files(
- 'mesa/main/extensions_table.c', 'mesa/main/imports.c',
+ 'mesa/main/extensions_table.c',
'mesa/program/prog_parameter.c', 'mesa/program/symbol_table.c',
'mesa/program/dummy_errors.c',
),
#include "main/mtypes.h"
#include "compiler/glsl/glsl_to_nir.h"
#include "compiler/nir_types.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "compiler/nir/nir_builder.h"
#include "disassemble.h"
#include "main/mtypes.h"
#include "compiler/glsl/glsl_to_nir.h"
#include "compiler/nir_types.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "compiler/nir/nir_builder.h"
#include "util/half_float.h"
#include "util/u_math.h"
blob.h \
build_id.c \
build_id.h \
+ compiler.h \
crc32.c \
crc32.h \
dag.c \
half_float.h \
hash_table.c \
hash_table.h \
+ imports.c \
+ imports.h \
list.h \
macros.h \
mesa-sha1.c \
#include "util/u_queue.h"
#include "util/mesa-sha1.h"
#include "util/ralloc.h"
-#include "main/compiler.h"
+#include "util/compiler.h"
#include "main/errors.h"
#include "disk_cache.h"
#include <stdarg.h>
#include "c99_math.h"
#include "imports.h"
-#include "context.h"
-#include "version.h"
#ifdef _GNU_SOURCE
#include <locale.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
-#include "compiler.h"
-#include "glheader.h"
+#include "util/compiler.h"
#include "util/bitscan.h"
#ifdef __cplusplus
* this macro.
* Both pointers/offsets are expressed in bytes.
*/
-#define ADD_POINTERS(A, B) ( (GLubyte *) (A) + (uintptr_t) (B) )
+#define ADD_POINTERS(A, B) ( (uint8_t *) (A) + (uintptr_t) (B) )
/**
- * Sometimes we treat GLfloats as GLints. On x86 systems, moving a float
+ * Sometimes we treat floats as ints. On x86 systems, moving a float
* as an int (thereby using integer registers instead of FP registers) is
* a performance win. Typically, this can be done with ordinary casts.
* But with gcc's -fstrict-aliasing flag (which defaults to on in gcc 3.0)
* these casts generate warnings.
* The following union typedef is used to solve that.
*/
-typedef union { GLfloat f; GLint i; GLuint u; } fi_type;
+typedef union { float f; int i; unsigned u; } fi_type;
/***
*** LOG2: Log base 2 of float
***/
-static inline GLfloat LOG2(GLfloat x)
+static inline float LOG2(float x)
{
#if 0
/* This is pretty fast, but not accurate enough (only 2 fractional bits).
* Based on code from http://www.stereopsis.com/log2.html
*/
- const GLfloat y = x * x * x * x;
- const GLuint ix = *((GLuint *) &y);
- const GLuint exp = (ix >> 23) & 0xFF;
- const GLint log2 = ((GLint) exp) - 127;
- return (GLfloat) log2 * (1.0 / 4.0); /* 4, because of x^4 above */
+ const float y = x * x * x * x;
+ const unsigned ix = *((unsigned *) &y);
+ const unsigned exp = (ix >> 23) & 0xFF;
+ const int log2 = ((int) exp) - 127;
+ return (float) log2 * (1.0 / 4.0); /* 4, because of x^4 above */
#endif
/* Pretty fast, and accurate.
* Based on code from http://www.flipcode.com/totd/
*/
fi_type num;
- GLint log_2;
+ int log_2;
num.f = x;
log_2 = ((num.i >> 23) & 255) - 128;
num.i &= ~(255 << 23);
/**
* Convert float to int64 by rounding to nearest integer.
*/
-static inline GLint64 IROUND64(float f)
+static inline int64_t IROUND64(float f)
{
- return (GLint64) ((f >= 0.0F) ? (f + 0.5F) : (f - 0.5F));
+ return (int64_t) ((f >= 0.0F) ? (f + 0.5F) : (f - 0.5F));
}
/*
* Returns the floor form of binary logarithm for a 32-bit integer.
*/
-static inline GLuint
-_mesa_logbase2(GLuint n)
+static inline unsigned
+_mesa_logbase2(unsigned n)
{
#ifdef HAVE___BUILTIN_CLZ
return (31 - __builtin_clz(n | 1));
#else
- GLuint pos = 0;
+ unsigned pos = 0;
if (n >= 1<<16) { n >>= 16; pos += 16; }
if (n >= 1<< 8) { n >>= 8; pos += 8; }
if (n >= 1<< 4) { n >>= 4; pos += 4; }
'blob.h',
'build_id.c',
'build_id.h',
+ 'compiler.h',
'crc32.c',
'crc32.h',
'dag.c',
'half_float.h',
'hash_table.c',
'hash_table.h',
+ 'imports.c',
+ 'imports.h',
'list.h',
'macros.h',
'mesa-sha1.c',
#include <stdbool.h>
#include "ralloc.h"
-#include "main/imports.h"
+#include "util/imports.h"
#include "main/macros.h"
#include "util/bitset.h"
#include "register_allocate.h"