diff --git a/docs/features.txt b/docs/features.txt index d88485c554c..a588d8272aa 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -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) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index f406df5f8fc..c99099dbd96 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -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 diff --git a/src/gallium/frontends/rusticl/core/format.rs b/src/gallium/frontends/rusticl/core/format.rs index 34783273878..c90fb75b613 100644 --- a/src/gallium/frontends/rusticl/core/format.rs +++ b/src/gallium/frontends/rusticl/core/format.rs @@ -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,