diff options
author | Jason Ekstrand <[email protected]> | 2016-08-03 11:41:45 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-08-23 11:45:25 -0700 |
commit | 7bdccd104bf49861adfd891ea35884f2197e1c44 (patch) | |
tree | 819e5ca62a2e64fd46f1ab9fb9f05c1aa4128d0a /src/gallium/drivers/nouveau/codegen/nv50_ir_graph.cpp | |
parent | afa7ca0f7764a049b0ff870fb6964207393be533 (diff) |
anv/clear: Clear E5B9G9R9 images as R32_UINT
We can't actually clear these images normally because we can't render to
them. Instead, we have to manually unpack the rgb9e5 color value on the
CPU and clear it as R32_UINT. We still have a bit of work to do to clear
non-power-of-two images, but this should get all of the power-of-two clears
working on at least Haswell. This fixes three of the new Vulkan CTS tests
in the dEQP-VK.api.image_clearing.clear_color_image.* group.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/nv50_ir_graph.cpp')
0 files changed, 0 insertions, 0 deletions