summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/Makefile.sources
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-07-25 11:15:59 -0400
committerRob Clark <[email protected]>2014-07-25 13:29:28 -0400
commitdb193e5ad06e7a2fbcffb3bb5df85d212eb12291 (patch)
tree58d1ec24c0af7b1acb1477eeaababe3d7eda6019 /src/gallium/drivers/freedreno/Makefile.sources
parent7d7e6ae9c3544ce1889aa9b8a34545c6f42017e7 (diff)
freedreno/ir3: split out shader compiler from a3xx
Move the bits we want to share between generations from fd3_program to ir3_shader. So overall structure is: fdN_shader_stateobj -> ir3_shader -> ir3_shader_variant -> ir3 |- ... \- ir3_shader_variant -> ir3 So the ir3_shader becomes the topmost generation neutral object, which manages the set of variants each of which generates, compiles, and assembles it's own ir. There is a bit of additional renaming to s/fd3_compiler/ir3_compiler/, etc. Keep the split between the gallium level stateobj and the shader helper object because it might be a good idea to pre-compute some generation specific register values (ie. anything that is independent of linking). Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/Makefile.sources')
-rw-r--r--src/gallium/drivers/freedreno/Makefile.sources25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/gallium/drivers/freedreno/Makefile.sources b/src/gallium/drivers/freedreno/Makefile.sources
index 0dc7fc08512..85e0b7eda6f 100644
--- a/src/gallium/drivers/freedreno/Makefile.sources
+++ b/src/gallium/drivers/freedreno/Makefile.sources
@@ -33,8 +33,6 @@ a2xx_SOURCES := \
a3xx_SOURCES := \
a3xx/fd3_blend.c \
- a3xx/fd3_compiler.c \
- a3xx/fd3_compiler_old.c \
a3xx/fd3_context.c \
a3xx/fd3_draw.c \
a3xx/fd3_emit.c \
@@ -45,12 +43,17 @@ a3xx_SOURCES := \
a3xx/fd3_screen.c \
a3xx/fd3_texture.c \
a3xx/fd3_util.c \
- a3xx/fd3_zsa.c \
- a3xx/disasm-a3xx.c \
- a3xx/ir3_cp.c \
- a3xx/ir3_depth.c \
- a3xx/ir3_dump.c \
- a3xx/ir3_flatten.c \
- a3xx/ir3_ra.c \
- a3xx/ir3_sched.c \
- a3xx/ir3.c
+ a3xx/fd3_zsa.c
+
+ir3_SOURCES := \
+ ir3/disasm-a3xx.c \
+ ir3/ir3_compiler.c \
+ ir3/ir3_compiler_old.c \
+ ir3/ir3_shader.c \
+ ir3/ir3_cp.c \
+ ir3/ir3_depth.c \
+ ir3/ir3_dump.c \
+ ir3/ir3_flatten.c \
+ ir3/ir3_ra.c \
+ ir3/ir3_sched.c \
+ ir3/ir3.c