mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18: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>
(cherry picked from commit 7829fb9adf)
This commit is contained in:
parent
d537057606
commit
1ab6d664c3
2 changed files with 2 additions and 1 deletions
|
|
@ -796,7 +796,7 @@
|
|||
"description": "mesa: set normalized_coords for bindless texture buffer samplers",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -240,6 +240,7 @@ new_texture_handle(struct gl_context *ctx, struct gl_texture_object *texObj,
|
|||
true, false);
|
||||
} else {
|
||||
view = st_get_buffer_sampler_view_from_stobj(st, texObj, false);
|
||||
sampler.normalized_coords = 1;
|
||||
}
|
||||
|
||||
return pipe->create_texture_handle(pipe, view, &sampler);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue