aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a4xx/fd4_texture.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-11-22 12:13:46 -0500
committerIlia Mirkin <[email protected]>2015-11-23 11:17:15 -0500
commit6f17f19b17d6150788e713f92f6a05ef410c4060 (patch)
treecde81ae5c2807a4cbd7a261c7da9fd777c12ee9c /src/gallium/drivers/freedreno/a4xx/fd4_texture.h
parentf10bb0ac9ea558efe7b6dccd673eb2b6604119db (diff)
freedreno/a4xx: only compute texture offset once for the view
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a4xx/fd4_texture.h')
-rw-r--r--src/gallium/drivers/freedreno/a4xx/fd4_texture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_texture.h b/src/gallium/drivers/freedreno/a4xx/fd4_texture.h
index d74d88701a8..6ca34ade60d 100644
--- a/src/gallium/drivers/freedreno/a4xx/fd4_texture.h
+++ b/src/gallium/drivers/freedreno/a4xx/fd4_texture.h
@@ -52,6 +52,7 @@ fd4_sampler_stateobj(struct pipe_sampler_state *samp)
struct fd4_pipe_sampler_view {
struct pipe_sampler_view base;
uint32_t texconst0, texconst1, texconst2, texconst3, texconst4;
+ uint32_t offset;
};
static inline struct fd4_pipe_sampler_view *