mesa/st: add ignore_srgb_decode param to st_convert_sampler
same as st_get_texture_sampler_view_from_stobj, no functional changes Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17687>
This commit is contained in:

committed by
Marge Bot

parent
28d033b34f
commit
d1e33fa345
@@ -233,7 +233,7 @@ new_texture_handle(struct gl_context *ctx, struct gl_texture_object *texObj,
|
||||
if (!st_finalize_texture(ctx, pipe, texObj, 0))
|
||||
return 0;
|
||||
|
||||
st_convert_sampler(st, texObj, sampObj, 0, &sampler, false);
|
||||
st_convert_sampler(st, texObj, sampObj, 0, &sampler, false, false);
|
||||
|
||||
/* TODO: Clarify the interaction of ARB_bindless_texture and EXT_texture_sRGB_decode */
|
||||
view = st_get_texture_sampler_view_from_stobj(st, texObj, sampObj, 0,
|
||||
|
Reference in New Issue
Block a user