mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
freedreno: Move register constant files to src/freedreno.
This way they can be shared. Build tested with meson, but not too sure on the autotools stuff though. Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Acked-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
baabfb1959
commit
3fcec4a550
14 changed files with 12 additions and 16 deletions
|
|
@ -37,7 +37,7 @@ include Makefile.sources
|
|||
lib_LTLIBRARIES =
|
||||
check_LTLIBRARIES =
|
||||
noinst_DATA =
|
||||
noinst_HEADERS =
|
||||
noinst_HEADERS = $(registers_FILES)
|
||||
noinst_LTLIBRARIES =
|
||||
noinst_PROGRAMS =
|
||||
check_PROGRAMS =
|
||||
|
|
|
|||
|
|
@ -41,3 +41,11 @@ ir3_SOURCES := \
|
|||
ir3_GENERATED_FILES := \
|
||||
ir3/ir3_nir_trig.c
|
||||
|
||||
registers_FILES := \
|
||||
registers/a2xx.xml.h \
|
||||
registers/a3xx.xml.h \
|
||||
registers/a4xx.xml.h \
|
||||
registers/a5xx.xml.h \
|
||||
registers/a6xx.xml.h \
|
||||
registers/adreno_common.xml.h \
|
||||
registers/adreno_pm4.xml.h
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
inc_freedreno = include_directories('.')
|
||||
inc_freedreno = include_directories(['.', './registers'])
|
||||
|
||||
subdir('drm')
|
||||
subdir('ir3')
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ AM_CFLAGS = \
|
|||
-Wno-packed-bitfield-compat \
|
||||
-I$(top_srcdir)/src/gallium/drivers/freedreno/ir3 \
|
||||
-I$(top_srcdir)/src/freedreno \
|
||||
-I$(top_srcdir)/src/freedreno/registers \
|
||||
-I$(top_builddir)/src/compiler/nir \
|
||||
-I$(top_srcdir)/src/compiler/nir \
|
||||
$(LIBDRM_CFLAGS) \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
C_SOURCES := \
|
||||
adreno_common.xml.h \
|
||||
adreno_pm4.xml.h \
|
||||
disasm.h \
|
||||
freedreno_batch.c \
|
||||
freedreno_batch.h \
|
||||
|
|
@ -41,7 +39,6 @@ C_SOURCES := \
|
|||
freedreno_util.h
|
||||
|
||||
a2xx_SOURCES := \
|
||||
a2xx/a2xx.xml.h \
|
||||
a2xx/disasm-a2xx.c \
|
||||
a2xx/fd2_blend.c \
|
||||
a2xx/fd2_blend.h \
|
||||
|
|
@ -74,7 +71,6 @@ a2xx_SOURCES := \
|
|||
a2xx/ir-a2xx.h
|
||||
|
||||
a3xx_SOURCES := \
|
||||
a3xx/a3xx.xml.h \
|
||||
a3xx/fd3_blend.c \
|
||||
a3xx/fd3_blend.h \
|
||||
a3xx/fd3_context.c \
|
||||
|
|
@ -101,7 +97,6 @@ a3xx_SOURCES := \
|
|||
a3xx/fd3_zsa.h
|
||||
|
||||
a4xx_SOURCES := \
|
||||
a4xx/a4xx.xml.h \
|
||||
a4xx/fd4_blend.c \
|
||||
a4xx/fd4_blend.h \
|
||||
a4xx/fd4_context.c \
|
||||
|
|
@ -128,7 +123,6 @@ a4xx_SOURCES := \
|
|||
a4xx/fd4_zsa.h
|
||||
|
||||
a5xx_SOURCES := \
|
||||
a5xx/a5xx.xml.h \
|
||||
a5xx/fd5_blend.c \
|
||||
a5xx/fd5_blend.h \
|
||||
a5xx/fd5_blitter.c \
|
||||
|
|
@ -164,7 +158,6 @@ a5xx_SOURCES := \
|
|||
a5xx/fd5_zsa.h
|
||||
|
||||
a6xx_SOURCES := \
|
||||
a6xx/a6xx.xml.h \
|
||||
a6xx/fd6_blend.c \
|
||||
a6xx/fd6_blend.h \
|
||||
a6xx/fd6_blitter.c \
|
||||
|
|
|
|||
|
|
@ -19,8 +19,6 @@
|
|||
# SOFTWARE.
|
||||
|
||||
files_libfreedreno = files(
|
||||
'adreno_common.xml.h',
|
||||
'adreno_pm4.xml.h',
|
||||
'disasm.h',
|
||||
'freedreno_batch.c',
|
||||
'freedreno_batch.h',
|
||||
|
|
@ -59,7 +57,6 @@ files_libfreedreno = files(
|
|||
'freedreno_texture.h',
|
||||
'freedreno_util.c',
|
||||
'freedreno_util.h',
|
||||
'a2xx/a2xx.xml.h',
|
||||
'a2xx/disasm-a2xx.c',
|
||||
'a2xx/fd2_blend.c',
|
||||
'a2xx/fd2_blend.h',
|
||||
|
|
@ -90,7 +87,6 @@ files_libfreedreno = files(
|
|||
'a2xx/instr-a2xx.h',
|
||||
'a2xx/ir-a2xx.c',
|
||||
'a2xx/ir-a2xx.h',
|
||||
'a3xx/a3xx.xml.h',
|
||||
'a3xx/fd3_blend.c',
|
||||
'a3xx/fd3_blend.h',
|
||||
'a3xx/fd3_context.c',
|
||||
|
|
@ -115,7 +111,6 @@ files_libfreedreno = files(
|
|||
'a3xx/fd3_texture.h',
|
||||
'a3xx/fd3_zsa.c',
|
||||
'a3xx/fd3_zsa.h',
|
||||
'a4xx/a4xx.xml.h',
|
||||
'a4xx/fd4_blend.c',
|
||||
'a4xx/fd4_blend.h',
|
||||
'a4xx/fd4_context.c',
|
||||
|
|
@ -140,7 +135,6 @@ files_libfreedreno = files(
|
|||
'a4xx/fd4_texture.h',
|
||||
'a4xx/fd4_zsa.c',
|
||||
'a4xx/fd4_zsa.h',
|
||||
'a5xx/a5xx.xml.h',
|
||||
'a5xx/fd5_blend.c',
|
||||
'a5xx/fd5_blend.h',
|
||||
'a5xx/fd5_blitter.c',
|
||||
|
|
@ -174,7 +168,6 @@ files_libfreedreno = files(
|
|||
'a5xx/fd5_texture.h',
|
||||
'a5xx/fd5_zsa.c',
|
||||
'a5xx/fd5_zsa.h',
|
||||
'a6xx/a6xx.xml.h',
|
||||
'a6xx/fd6_blend.c',
|
||||
'a6xx/fd6_blend.h',
|
||||
'a6xx/fd6_blitter.c',
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
|
|||
AM_CFLAGS = \
|
||||
-I$(top_srcdir)/src/gallium/drivers \
|
||||
-I$(top_srcdir)/src/freedreno \
|
||||
-I$(top_srcdir)/src/freedreno/registers \
|
||||
$(GALLIUM_WINSYS_CFLAGS) \
|
||||
$(FREEDRENO_CFLAGS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue