mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 10:50:26 +01:00
rusticl/image: enable sRGB support
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35535>
This commit is contained in:
parent
e0cdf4dfdd
commit
21ed913198
3 changed files with 4 additions and 5 deletions
|
|
@ -769,7 +769,7 @@ Rusticl OpenCL 2.0 -- all DONE:
|
|||
- CL_ABGR DONE
|
||||
- cl_khr_image2d_from_buffer DONE (freedreno, iris, llvmpipe)
|
||||
- cl_khr_depth_images DONE
|
||||
- from sRGB images in progress
|
||||
- from sRGB images DONE
|
||||
clCreateSamplerWithProperties DONE
|
||||
Non-uniform work-group sizes not started
|
||||
cl_khr_3d_image_writes DONE (freedreno, iris, llvmpipe, nvc0, panfrost, radeonsi, zink)
|
||||
|
|
|
|||
|
|
@ -51,3 +51,4 @@ VK_KHR_present_wait2
|
|||
VK_EXT_descriptor_indexing on panvk/v10+
|
||||
cl_khr_priority_hints
|
||||
VK_KHR_maintenance6 on panvk/v10+
|
||||
CL_sRGBA and CL_sBGRA images
|
||||
|
|
|
|||
|
|
@ -176,10 +176,8 @@ cl_format_table!([
|
|||
// (CL_RGBx, CL_UNORM_SHORT_555) => pipe_format::PIPE_FORMAT_R5G5B5X1_UNORM,
|
||||
// (CL_RGBx, CL_UNORM_INT_101010) => pipe_format::PIPE_FORMAT_R10G10B10X2_UNORM,
|
||||
|
||||
// broken
|
||||
// (CL_sRGB, CL_UNORM_INT8) => pipe_format::PIPE_FORMAT_R8G8B8_SRGB,
|
||||
// (CL_sRGBA, CL_UNORM_INT8) => pipe_format::PIPE_FORMAT_R8G8B8A8_SRGB,
|
||||
// (CL_sBGRA, CL_UNORM_INT8) => pipe_format::PIPE_FORMAT_B8G8R8A8_SRGB,
|
||||
(CL_sRGBA, CL_UNORM_INT8) => pipe_format::PIPE_FORMAT_R8G8B8A8_SRGB,
|
||||
(CL_sBGRA, CL_UNORM_INT8) => pipe_format::PIPE_FORMAT_B8G8R8A8_SRGB,
|
||||
// broken
|
||||
// (CL_sRGBx, CL_UNORM_INT8) => pipe_format::PIPE_FORMAT_R8G8B8X8_SRGB,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue