mesa/src/intel/blorp
Lionel Landwerlin 87934f02f9 blorp: allow blits with floating point source layers
The current blorp API only allows source layers for 3D images to be
integers. That is causing problems with the Vulkan API where we need
to be able to use a 3D layer that could be in between 2 layers.

This change allows a floating point value to be passed for blits and
internally sets up the input parameters to pass floating point values
to kernels.

v2: Use tex op to determinate what types are the coordinates (Jason)
    Drop setting params->z (Lionel)

v3: Fix nir_texop_txf_ms_mcs op not considered as having integer coords (Lionel)

v4: Fix incorrect test on nir_texop_txf_ms_mcs (Ivan)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3458
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6909>
2020-10-22 15:46:51 +00:00
..
blorp.c blorp: allow blits with floating point source layers 2020-10-22 15:46:51 +00:00
blorp.h blorp: allow blits with floating point source layers 2020-10-22 15:46:51 +00:00
blorp_blit.c blorp: allow blits with floating point source layers 2020-10-22 15:46:51 +00:00
blorp_clear.c blorp: identify copy kernels in NIR 2020-10-22 15:46:51 +00:00
blorp_genX_exec.h intel: Silence many unused parameter warnings in blorp_genX_exec.h 2020-10-15 09:29:53 -07:00
blorp_nir_builder.h intel: Use a system value for gl_FragCoord 2019-07-29 23:30:26 +00:00
blorp_priv.h blorp: allow blits with floating point source layers 2020-10-22 15:46:51 +00:00
meson.build meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
TODO intel/blorp: Add a TODO file 2016-09-12 10:14:49 -07:00