diff options
author | Chia-I Wu <[email protected]> | 2012-12-13 05:48:28 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-04-26 16:20:52 +0800 |
commit | 7118ff8bb02046bb2f440e2a5c48d9a41bb057b1 (patch) | |
tree | facfe5b880db82818b95521da5edc5803de749be /src/gallium/drivers/ilo/Makefile.sources | |
parent | 0fa2d0e98aec1e864f7edc225eb9cda449051733 (diff) |
ilo: add a toy shader compiler
This is a simple shader compiler that performs almost zero optimizations. The
generated code is usually much larger comparing to that generated by i965.
The generated code also requires many more registers.
Function-wise, it lacks register spilling and does not support most TGSI
indirections. Other than those, it works alright.
Diffstat (limited to 'src/gallium/drivers/ilo/Makefile.sources')
-rw-r--r-- | src/gallium/drivers/ilo/Makefile.sources | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/Makefile.sources b/src/gallium/drivers/ilo/Makefile.sources index 448f1d19736..c19801e7281 100644 --- a/src/gallium/drivers/ilo/Makefile.sources +++ b/src/gallium/drivers/ilo/Makefile.sources @@ -16,4 +16,11 @@ C_SOURCES := \ ilo_screen.c \ ilo_shader.c \ ilo_state.c \ - ilo_video.c + ilo_video.c \ + shader/toy_compiler.c \ + shader/toy_compiler_asm.c \ + shader/toy_compiler_disasm.c \ + shader/toy_legalize.c \ + shader/toy_legalize_ra.c \ + shader/toy_optimize.c \ + shader/toy_tgsi.c |