diff options
author | Eric Anholt <eric@anholt.net> | 2018-01-09 15:46:34 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2018-01-12 21:56:00 -0800 |
commit | 469bbd8387d11bbac2aae4c49765c748c2a9fd04 (patch) | |
tree | 4c35dd8b7fc068ce68d19fcea85346db825f4431 /src/gallium/drivers/vc5/v3dx_context.h | |
parent | 34898c8c45a5cbb84a027d74854efb1486d65bc4 (diff) |
broadcom/vc5: Move the formats table to per-V3D-version compile.
Diffstat (limited to 'src/gallium/drivers/vc5/v3dx_context.h')
-rw-r--r-- | src/gallium/drivers/vc5/v3dx_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/v3dx_context.h b/src/gallium/drivers/vc5/v3dx_context.h index 58012fa5f9..445038c76b 100644 --- a/src/gallium/drivers/vc5/v3dx_context.h +++ b/src/gallium/drivers/vc5/v3dx_context.h @@ -27,6 +27,7 @@ */ struct v3d_hw; +struct vc5_format; void v3dX(emit_rcl)(struct vc5_job *job); void v3dX(draw_init)(struct pipe_context *pctx); @@ -36,3 +37,7 @@ int v3dX(simulator_get_param_ioctl)(struct v3d_hw *v3d, struct drm_vc5_get_param *args); void v3dX(simulator_flush)(struct v3d_hw *v3d, struct drm_vc5_submit_cl *submit, uint32_t gmp_ofs); +const struct vc5_format *v3dX(get_format_desc)(enum pipe_format f); +void v3dX(get_internal_type_bpp_for_output_format)(uint32_t format, + uint32_t *type, + uint32_t *bpp); |