mesa/docs/gallium
Mike Blumenkrantz e7b9561959 gallium: implement compute pbo download
this reworks PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER into an
enum as PIPE_CAP_TEXTURE_TRANSFER_MODES, enabling drivers to choose
a (sometimes) faster, compute-based download mechanism based on a new
pipe_screen hook

compute pbo download is implemented using shaders with a prolog to convert
the input format to generic rgb float values, then an epilog to convert
to the output value. the prolog and epilog are determined based on a vec4
of packed ubo data which is dynamically updated based on the API usage

currently, the only known limitations are:
* GL_ARB_texture_cube_map_array is broken somehow (and disabled)
* AMD hardware somehow can't do depth readback?

otherwise it should work for every possible case

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11984>
2021-11-18 08:00:07 -05:00
..
cso gallium: add rasterizer depth_clamp enable bit 2021-09-09 18:29:26 +00:00
buffermapping.rst docs: fix invalid rst 2021-04-01 08:15:08 +00:00
context.rst gallium: remove vertices_per_patch, add pipe_context::set_patch_vertices 2021-08-21 00:08:11 +00:00
cso.rst
debugging.rst gallium: when tracing is enabled for threaded drivers, trace the driver thread 2021-04-21 14:28:44 +00:00
distro.rst
format.rst docs/gallium: Document the index buffer format convention 2021-06-01 23:40:47 +00:00
glossary.rst
index.rst docs: Add some documentation of game GL buffer object mapping behavior. 2021-03-09 09:24:23 -08:00
intro.rst
pipeline.txt
postprocess.rst docs: move gallium specific docs into gallium folder 2020-07-07 10:22:08 +00:00
resources.rst
screen.rst gallium: implement compute pbo download 2021-11-18 08:00:07 -05:00
tgsi.rst gallium/tgsi: rip out cylindrical wrap support 2021-08-25 19:37:16 +00:00