From 8eb1214755366fc34ed15a7e3dec48d4f0d65f10 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Wed, 21 Jun 2017 23:13:20 -0400 Subject: nvc0: add support for bindless textures on kepler+ This keeps a list of resident textures (per context), and dumps that list into the active buffer list when submitting. We also treat bindless texture fetches slightly differently, wrt the meaning of indirect, and not requiring the SAMPLER file to be used. Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nv50/nv50_stateobj_tex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/nouveau/nv50/nv50_stateobj_tex.h') diff --git a/src/gallium/drivers/nouveau/nv50/nv50_stateobj_tex.h b/src/gallium/drivers/nouveau/nv50/nv50_stateobj_tex.h index 6bc451450b1..eea2686f551 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_stateobj_tex.h +++ b/src/gallium/drivers/nouveau/nv50/nv50_stateobj_tex.h @@ -20,6 +20,7 @@ struct nv50_tic_entry { struct pipe_sampler_view pipe; int id; uint32_t tic[8]; + uint32_t bindless; }; static inline struct nv50_tic_entry * -- cgit v1.2.3