mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
rusticl: enable cl_khr_depth_images
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30831>
This commit is contained in:
parent
67212c2fa6
commit
c0edb9344f
3 changed files with 7 additions and 4 deletions
|
|
@ -904,7 +904,7 @@ Rusticl OpenCL 2.0 -- all DONE:
|
|||
Extended 2D images creation in progress
|
||||
- CL_ABGR DONE
|
||||
- cl_khr_image2d_from_buffer DONE (iris, llvmpipe)
|
||||
- cl_khr_depth_images not started
|
||||
- cl_khr_depth_images DONE
|
||||
- from sRGB images in progress
|
||||
clCreateSamplerWithProperties DONE
|
||||
Non-uniform work-group sizes not started
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
cl_khr_depth_images in rusticl
|
||||
|
|
@ -183,9 +183,11 @@ cl_format_table!([
|
|||
// broken
|
||||
// (CL_sRGBx, CL_UNORM_INT8) => pipe_format::PIPE_FORMAT_R8G8B8X8_SRGB,
|
||||
|
||||
// broken
|
||||
// (CL_DEPTH, CL_FLOAT) => pipe_format::PIPE_FORMAT_Z32_FLOAT,
|
||||
// (CL_DEPTH, CL_UNORM_INT16) => pipe_format::PIPE_FORMAT_Z16_UNORM,
|
||||
// yes, we use non depth formats for CL_DEPTH, because OpenCL requires normal pixel semantics
|
||||
// and not implicit depth format semantics (e.g. implicit value clamping). Intel NEO does the
|
||||
// same.
|
||||
(CL_DEPTH, CL_FLOAT) => pipe_format::PIPE_FORMAT_R32_FLOAT,
|
||||
(CL_DEPTH, CL_UNORM_INT16) => pipe_format::PIPE_FORMAT_R16_UNORM,
|
||||
|
||||
(CL_LUMINANCE, CL_HALF_FLOAT) => pipe_format::PIPE_FORMAT_L16_FLOAT,
|
||||
(CL_LUMINANCE, CL_FLOAT) => pipe_format::PIPE_FORMAT_L32_FLOAT,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue