Home
last modified time | relevance | path

Searched refs:util_format_is_srgb (Results 1 – 25 of 49) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c281 if (!util_format_is_srgb(blit->src.format)) in check_blending_and_srgb_cond()
285 if (util_format_is_srgb(sFmt) && util_format_is_srgb(dFmt)) in check_blending_and_srgb_cond()
287 else if (!util_format_is_srgb(sFmt)){ in check_blending_and_srgb_cond()
288 if (!util_format_is_srgb(dFmt)) in check_blending_and_srgb_cond()
300 if (util_format_is_srgb(blit->src.resource->format)) in check_blending_and_srgb_cond()
866 !util_format_is_srgb(src_tex->format) && in svga_resource_copy_region()
/third_party/mesa3d/src/util/tests/format/
Dsrgb.c12 if (!util_format_is_srgb(format)) { in main()
/third_party/mesa3d/src/broadcom/vulkan/
Dvk_format_info.h73 return util_format_is_srgb(vk_format_to_pipe_format(format)); in vk_format_is_srgb()
/third_party/mesa3d/src/freedreno/vulkan/
Dvk_format.h98 return util_format_is_srgb(vk_format_to_pipe_format(format)); in vk_format_is_srgb()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_format.c100 COND(util_format_is_srgb(format), A6XX_TEX_CONST_0_SRGB) | in fd6_tex_const_0()
Dfd6_image.c73 img->srgb = util_format_is_srgb(format); in translate_image()
156 img->srgb = util_format_is_srgb(format); in translate_buf()
Dfd6_blitter.c257 bool is_srgb = util_format_is_srgb(pfmt); in emit_blit_setup()
551 COND(util_format_is_srgb(pfmt), A6XX_RB_2D_DST_INFO_SRGB) | in emit_blit_dst()
602 COND(util_format_is_srgb(info->src.format), in emit_blit_src()
768 if (util_format_is_srgb(format)) { in convert_color()
869 COND(util_format_is_srgb(psurf->format), A6XX_SP_PS_2D_SRC_INFO_SRGB) | in fd6_resolve_tile()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c61 !util_format_is_srgb(format) && !util_format_is_pure_integer(format) && in fd2_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_formats.c50 if (!util_format_is_srgb(pformat)) { in iris_format_for_usage()
/third_party/mesa3d/src/panfrost/lib/
Dpan_clear.c141 if (util_format_is_srgb(format)) { in pan_pack_color()
/third_party/mesa3d/src/amd/vulkan/
Dvk_format.h151 return util_format_is_srgb(vk_format_to_pipe_format(format)); in vk_format_is_srgb()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c173 if (util_format_is_srgb(cso->format)) in fd3_sampler_view_create()
/third_party/mesa3d/src/util/format/
Du_format.h538 util_format_is_srgb(enum pipe_format format) in util_format_is_srgb() function
989 if (util_format_is_srgb(format)) in util_format_srgb()
1200 assert(!util_format_is_srgb(format)); in util_format_linear()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_format.c216 if (!util_format_is_srgb(pformat)) { in d3d12_get_format_info()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c178 if (util_format_is_srgb(format)) { in fd4_sampler_view_create()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c87 if (util_format_is_srgb(pt->format)) { in update_sampler()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c175 if (util_format_is_srgb(format)) { in fd5_sampler_view_create()
Dfd5_image.c75 img->srgb = util_format_is_srgb(format); in translate_image()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_state.c161 const bool srgb = util_format_is_srgb(so->format); in etna_create_sampler_view_state()
238 COND(util_format_is_srgb(so->format) && !astc, VIVS_TE_SAMPLER_LOG_SIZE_SRGB) | in etna_create_sampler_view_state()
Detnaviv_screen.c463 if (util_format_is_srgb(format)) in gpu_supports_texture_format()
510 if (util_format_is_srgb(format)) in gpu_supports_render_format()
Detnaviv_texture_desc.c163 if (util_format_is_srgb(so->format)) in etna_create_sampler_view_desc()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c101 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_uniforms.c124 if (util_format_is_srgb(texture->format)) { in write_texture_border_color()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c372 (util_format_is_srgb(templ->format) == in virgl_create_surface()
373 util_format_is_srgb(resource->format))); in virgl_create_surface()
1223 (util_format_is_srgb(blit->dst.resource->format) == in virgl_blit()
1224 util_format_is_srgb(blit->dst.format))); in virgl_blit()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_clear.c231 … !util_format_is_srgb(psurf->format) && util_format_is_srgb(psurf->texture->format); in zink_clear()

12