mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
mesa: set normalized_coords for bindless texture buffer samplers
this isn't "used", but it's the default cc: mesa-stable Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18845>
This commit is contained in:
parent
c268ae9efe
commit
7829fb9adf
1 changed files with 1 additions and 0 deletions
|
|
@ -240,6 +240,7 @@ new_texture_handle(struct gl_context *ctx, struct gl_texture_object *texObj,
|
||||||
true, false);
|
true, false);
|
||||||
} else {
|
} else {
|
||||||
view = st_get_buffer_sampler_view_from_stobj(st, texObj, false);
|
view = st_get_buffer_sampler_view_from_stobj(st, texObj, false);
|
||||||
|
sampler.normalized_coords = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return pipe->create_texture_handle(pipe, view, &sampler);
|
return pipe->create_texture_handle(pipe, view, &sampler);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue