• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# R600 shader from NIR
2
3This code is an attempt to implement a NIR backend for r600.
4
5Supported hardware: Cayman, Evergreen and NI (tested on CAYMAN, CEDAR and BARTS)
6
7Thanks to soft fp64 the OpenGL version is now 4.5 also for EG.
8
9sb can bee enabled for nir, it still gives some improvements, e.g. with Xonotic
10The aim is still to get rid of it.
11
12
13## State
14
15TODO:
16
17piglits gpu passes mostly like with TGSI, there are some fixes but also a few regressions.
18
19piglit:
20  * spilling arrays is broken on Barts and CAYMAN (but it works on Cedar)
21
22## Needed optimizations:
23
24  - peepholes:
25    - compare + set predicate / kill
26  - use clause local registers
27  - reduce register usage
28  - don't rely on the backend to schedule addr load and Index load as well
29  - don't rely on the backend to merge some alu groups
30
31## There are still some hangs
32
33
34
35