diff options
author | José Fonseca <[email protected]> | 2009-08-30 12:02:36 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-30 12:37:03 +0100 |
commit | 3d305243938980af520c6d3e0ce02f4ee3a6126c (patch) | |
tree | 87d04c757ca756195e533100f2b6015fd1189794 /src/gallium/auxiliary/util/Makefile | |
parent | 379304a72cf332e2d570b13663bb447ec7a12940 (diff) |
util: Auto generate pixel format accessor functions from
This has several advantages over the u_
- not hand written
- no intermediate memcpy of raw pixels
- supports 4 ubytes in addition to floats
- no need to pass a pipe_transfer
It also has (hopefully temporary) limitations:
- no support for YUV
- no support for SRGB
Diffstat (limited to 'src/gallium/auxiliary/util/Makefile')
-rw-r--r-- | src/gallium/auxiliary/util/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/Makefile b/src/gallium/auxiliary/util/Makefile index 77f1133096e..ae8d330a787 100644 --- a/src/gallium/auxiliary/util/Makefile +++ b/src/gallium/auxiliary/util/Makefile @@ -12,6 +12,7 @@ C_SOURCES = \ u_cache.c \ u_draw_quad.c \ u_format.c \ + u_format_access.c \ u_format_table.c \ u_gen_mipmap.c \ u_handle_table.c \ @@ -36,5 +37,8 @@ C_SOURCES = \ include ../../Makefile.template -u_format_table.c: u_format_table.py u_format.csv +u_format_table.c: u_format_table.py u_format_parse.py u_format.csv python u_format_table.py u_format.csv > $@ + +u_format_access.c: u_format_access.py u_format_parse.py u_format.csv + python u_format_access.py u_format.csv > $@ |