diff options
author | Eric Anholt <[email protected]> | 2017-02-03 10:54:12 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-02-06 12:44:06 -0800 |
commit | 61bb1a9795e80501e9000d423d5cc5310b77e65b (patch) | |
tree | d53cffb7f80a8d69d7bb79f4f6cf6ed0d1b887a7 /src/loader/loader.c | |
parent | 13a28ff2368ffdcaafee3cb6c45df77f75b02aea (diff) |
targets: Use a macro to reduce cut and paste in driver setup.
All the replicated prototypes/function bodies obfuscated the interesting
logic of the file: the mapping from driver enable macros to entrypoints we
expose, and the way that the swrast entrypoints are special compared to
the DRM entrypoints.
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/loader/loader.c')
0 files changed, 0 insertions, 0 deletions