From 1ab6d664c3a24790cc573f7e69536acf600085e2 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 27 Sep 2022 11:58:52 -0400 Subject: [PATCH] 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 Part-of: (cherry picked from commit 7829fb9adf9b21c6f35c1932ee86f8f64dfda7cf) --- .pick_status.json | 2 +- src/mesa/main/texturebindless.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index efd815eb4d0..7533396aef0 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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 }, diff --git a/src/mesa/main/texturebindless.c b/src/mesa/main/texturebindless.c index 62635fd94c8..c504ffa1811 100644 --- a/src/mesa/main/texturebindless.c +++ b/src/mesa/main/texturebindless.c @@ -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);