diff options
author | Brian Paul <[email protected]> | 2017-12-04 17:09:24 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-09-10 13:07:30 -0600 |
commit | cf2fb6813c97594e2cc64100b8262de259d9ff1a (patch) | |
tree | c597d1f1740548e35ca3f25ec9909be363f6cbd6 | |
parent | 0fc6c17bf214708cf1729ec7ed08ec48b1bea3ea (diff) |
svga: remove obsolete comment on format_cap_table[]
We removed the special cases referred to in this comment in the commit
"svga: add a separate function to get dx format capabilities from
vgpu10 device".
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r-- | src/gallium/drivers/svga/svga_format.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/svga/svga_format.c b/src/gallium/drivers/svga/svga_format.c index f3bffc7482f..be68fb4610a 100644 --- a/src/gallium/drivers/svga/svga_format.c +++ b/src/gallium/drivers/svga/svga_format.c @@ -534,16 +534,6 @@ struct format_cap { * Format capability description table. * * Ordered by increasing SVGA3dSurfaceFormat value, but with gaps. - * - * Note: there are some special cases below where we set devcap=0 and - * avoid querying the host. In particular, depth/stencil formats which - * can be rendered to and sampled from. For example, the gallium format - * PIPE_FORMAT_Z24_UNORM_S8_UINT is converted to SVGA3D_D24_UNORM_S8_UINT - * for rendering but converted to SVGA3D_R24_UNORM_X8 for sampling. - * If we want to query if a format supports both rendering and sampling the - * host will tell us no for SVGA3D_D24_UNORM_S8_UINT, SVGA3D_D16_UNORM and - * SVGA3D_R24_UNORM_X8. So we override the host query for those - * formats and report that both can do rendering and sampling. */ static const struct format_cap format_cap_table[] = { { |