diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-04-02 22:26:03 -0400 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2015-04-05 16:36:34 -0400 |
commit | bfb0a8eb6967065be92e40ba620fc6fededde51a (patch) | |
tree | a0b019be5e1ea93c37474d160cb15189144b279f /src/gallium/drivers/freedreno/a2xx/fd2_texture.c | |
parent | 6cd9c94ce49a2c1a8826c1b1bf2fb73dc595131d (diff) |
freedreno: remove tex_resource
pipe_sampler_view already contains a texture, remove the redundant
tex_resource member which pointed at the same thing.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/fd2_texture.c')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_texture.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_texture.c b/src/gallium/drivers/freedreno/a2xx/fd2_texture.c index b70eaa69898..90013e260ce 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_texture.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_texture.c @@ -136,7 +136,6 @@ fd2_sampler_view_create(struct pipe_context *pctx, struct pipe_resource *prsc, so->base.reference.count = 1; so->base.context = pctx; - so->tex_resource = rsc; so->fmt = fd2_pipe2surface(cso->format); so->tex0 = A2XX_SQ_TEX_0_PITCH(rsc->slices[0].pitch); |