diff options
author | Christian König <[email protected]> | 2012-07-20 11:08:22 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2012-07-24 12:29:30 +0200 |
commit | 53d47889e67b3de5267d55b90b2110802a6e7dc0 (patch) | |
tree | 470e9c337e1cca96c4f9c6a735b0042a4003c938 /src/gallium/drivers/radeonsi/si_state.h | |
parent | 73dd906ba0ef06ba03f1a05b08dbca3122016bac (diff) |
radeonsi: move format handling into si_state.c
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index cb993774f4c..e94797c63bc 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -156,6 +156,15 @@ union si_state { } while(0); /* si_state.c */ +uint32_t si_translate_vertexformat(struct pipe_screen *screen, + enum pipe_format format, + const struct util_format_description *desc, + int first_non_void); +bool si_is_format_supported(struct pipe_screen *screen, + enum pipe_format format, + enum pipe_texture_target target, + unsigned sample_count, + unsigned usage); void si_init_state_functions(struct r600_context *rctx); void si_init_config(struct r600_context *rctx); |