summaryrefslogtreecommitdiffstats
path: root/src/util/format_srgb.py
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-11-23 17:04:15 +0100
committerSamuel Pitoiset <[email protected]>2018-11-29 10:18:42 +0100
commit4b9df824f7f64203be7932250d9f642e78d51b52 (patch)
treef745ce55a75ac869b637edd5457e4861535c871e /src/util/format_srgb.py
parent7484bc894b91331553c28393cee25646dd5a47d6 (diff)
radv: optimize CmdClear{Color,DepthStencil}Image() for layered textures
If all layers are bound we can perform a fast color or depth clear instead of iterating over all layers. This has the advantage to avoid trashing the framebuffer for nothing if you we end up by doing a fast clear when calling radv_clear_image_layer(), and clearing all layers in one shot is obviously faster. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/util/format_srgb.py')
0 files changed, 0 insertions, 0 deletions