1 # Copyright (C) 2015 Intel Corporation. All Rights Reserved. 2 # 3 # Permission is hereby granted, free of charge, to any person obtaining a 4 # copy of this software and associated documentation files (the "Software"), 5 # to deal in the Software without restriction, including without limitation 6 # the rights to use, copy, modify, merge, publish, distribute, sublicense, 7 # and/or sell copies of the Software, and to permit persons to whom the 8 # Software is furnished to do so, subject to the following conditions: 9 # 10 # The above copyright notice and this permission notice (including the next 11 # paragraph) shall be included in all copies or substantial portions of the 12 # Software. 13 # 14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 20 # IN THE SOFTWARE. 21 22 LOADER_SOURCES := \ 23 swr_loader.cpp 24 25 CXX_SOURCES := \ 26 swr_clear.cpp \ 27 swr_context.cpp \ 28 swr_context.h \ 29 swr_draw.cpp \ 30 swr_public.h \ 31 swr_resource.h \ 32 swr_screen.cpp \ 33 swr_screen.h \ 34 swr_state.cpp \ 35 swr_state.h \ 36 swr_tex_sample.cpp \ 37 swr_tex_sample.h \ 38 swr_scratch.h \ 39 swr_scratch.cpp \ 40 swr_shader.cpp \ 41 swr_shader.h \ 42 swr_memory.h \ 43 swr_fence.h \ 44 swr_fence.cpp \ 45 swr_fence_work.h \ 46 swr_fence_work.cpp \ 47 swr_query.h \ 48 swr_query.cpp 49 50 ARCHRAST_CXX_SOURCES := \ 51 rasterizer/archrast/archrast.cpp \ 52 rasterizer/archrast/archrast.h \ 53 rasterizer/archrast/eventmanager.h 54 55 COMMON_CXX_SOURCES := \ 56 rasterizer/common/formats.cpp \ 57 rasterizer/common/formats.h \ 58 rasterizer/common/intrin.h \ 59 rasterizer/common/isa.hpp \ 60 rasterizer/common/os.cpp \ 61 rasterizer/common/os.h \ 62 rasterizer/common/rdtsc_buckets.cpp \ 63 rasterizer/common/rdtsc_buckets.h \ 64 rasterizer/common/rdtsc_buckets_shared.h \ 65 rasterizer/common/rdtsc_buckets_shared.h \ 66 rasterizer/common/simd16intrin.h \ 67 rasterizer/common/simdintrin.h \ 68 rasterizer/common/simdlib.hpp \ 69 rasterizer/common/simdlib_128_avx.inl \ 70 rasterizer/common/simdlib_128_avx2.inl \ 71 rasterizer/common/simdlib_128_avx512.inl \ 72 rasterizer/common/simdlib_128_avx512_core.inl \ 73 rasterizer/common/simdlib_128_avx512_knights.inl \ 74 rasterizer/common/simdlib_256_avx.inl \ 75 rasterizer/common/simdlib_256_avx2.inl \ 76 rasterizer/common/simdlib_256_avx512.inl \ 77 rasterizer/common/simdlib_256_avx512_core.inl \ 78 rasterizer/common/simdlib_256_avx512_knights.inl \ 79 rasterizer/common/simdlib_512_avx512.inl \ 80 rasterizer/common/simdlib_512_avx512_core.inl \ 81 rasterizer/common/simdlib_512_avx512_knights.inl \ 82 rasterizer/common/simdlib_512_avx512_masks.inl \ 83 rasterizer/common/simdlib_512_avx512_masks_core.inl \ 84 rasterizer/common/simdlib_512_avx512_masks_knights.inl \ 85 rasterizer/common/simdlib_512_emu.inl \ 86 rasterizer/common/simdlib_512_emu_masks.inl \ 87 rasterizer/common/simdlib_interface.hpp \ 88 rasterizer/common/simdlib_types.hpp \ 89 rasterizer/common/swr_assert.cpp \ 90 rasterizer/common/swr_assert.h 91 92 CORE_CXX_SOURCES := \ 93 rasterizer/core/api.cpp \ 94 rasterizer/core/api.h \ 95 rasterizer/core/arena.h \ 96 rasterizer/core/backend.cpp \ 97 rasterizer/core/backend_clear.cpp \ 98 rasterizer/core/backend_sample.cpp \ 99 rasterizer/core/backend_singlesample.cpp \ 100 rasterizer/core/backend.h \ 101 rasterizer/core/backend_impl.h \ 102 rasterizer/core/binner.cpp \ 103 rasterizer/core/binner.h \ 104 rasterizer/core/blend.h \ 105 rasterizer/core/clip.cpp \ 106 rasterizer/core/clip.h \ 107 rasterizer/core/conservativeRast.h \ 108 rasterizer/core/context.h \ 109 rasterizer/core/depthstencil.h \ 110 rasterizer/core/fifo.hpp \ 111 rasterizer/core/format_conversion.h \ 112 rasterizer/core/format_traits.h \ 113 rasterizer/core/format_types.h \ 114 rasterizer/core/format_utils.h \ 115 rasterizer/core/frontend.cpp \ 116 rasterizer/core/frontend.h \ 117 rasterizer/core/knobs.h \ 118 rasterizer/core/knobs_init.h \ 119 rasterizer/core/multisample.h \ 120 rasterizer/core/pa_avx.cpp \ 121 rasterizer/core/pa.h \ 122 rasterizer/core/rasterizer.cpp \ 123 rasterizer/core/rasterizer.h \ 124 rasterizer/core/rasterizer_impl.h \ 125 rasterizer/core/rdtsc_core.cpp \ 126 rasterizer/core/rdtsc_core.h \ 127 rasterizer/core/ringbuffer.h \ 128 rasterizer/core/state.h \ 129 rasterizer/core/state_funcs.h \ 130 rasterizer/core/tessellator.h \ 131 rasterizer/core/threads.cpp \ 132 rasterizer/core/threads.h \ 133 rasterizer/core/tilemgr.cpp \ 134 rasterizer/core/tilemgr.h \ 135 rasterizer/core/utils.h 136 137 JITTER_CXX_SOURCES := \ 138 rasterizer/jitter/blend_jit.cpp \ 139 rasterizer/jitter/blend_jit.h \ 140 rasterizer/jitter/builder.cpp \ 141 rasterizer/jitter/builder.h \ 142 rasterizer/jitter/builder_math.h \ 143 rasterizer/jitter/builder_misc.cpp \ 144 rasterizer/jitter/builder_misc.h \ 145 rasterizer/jitter/fetch_jit.cpp \ 146 rasterizer/jitter/fetch_jit.h \ 147 rasterizer/jitter/jit_api.h \ 148 rasterizer/jitter/jit_pch.hpp \ 149 rasterizer/jitter/JitManager.cpp \ 150 rasterizer/jitter/JitManager.h \ 151 rasterizer/jitter/streamout_jit.cpp \ 152 rasterizer/jitter/streamout_jit.h 153 154 MEMORY_CXX_SOURCES := \ 155 rasterizer/memory/ClearTile.cpp \ 156 rasterizer/memory/Convert.h \ 157 rasterizer/memory/LoadTile.cpp \ 158 rasterizer/memory/LoadTile.h \ 159 rasterizer/memory/LoadTile_Linear.cpp \ 160 rasterizer/memory/LoadTile_TileX.cpp \ 161 rasterizer/memory/LoadTile_TileY.cpp \ 162 rasterizer/memory/StoreTile.cpp \ 163 rasterizer/memory/StoreTile.h \ 164 rasterizer/memory/StoreTile_Linear2.cpp \ 165 rasterizer/memory/StoreTile_Linear.cpp \ 166 rasterizer/memory/StoreTile_TileW.cpp \ 167 rasterizer/memory/StoreTile_TileX2.cpp \ 168 rasterizer/memory/StoreTile_TileX.cpp \ 169 rasterizer/memory/StoreTile_TileY2.cpp \ 170 rasterizer/memory/StoreTile_TileY.cpp \ 171 rasterizer/memory/TilingFunctions.h \ 172 rasterizer/memory/tilingtraits.h 173