diff options
author | Rob Clark <[email protected]> | 2017-04-16 11:57:04 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-04-18 16:32:00 -0400 |
commit | 248a508f243a0fb6ef92d3048e60a278a4326ddd (patch) | |
tree | 376b5d6c9fd6bae0a3d7f1d75c285052224bbbfc /src/gallium/drivers/freedreno/freedreno_texture.c | |
parent | 0cc23ae77995bb258505a390dd57efd3e00803e6 (diff) |
freedreno: move a2xx specific hack out of core
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_texture.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_texture.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_texture.c b/src/gallium/drivers/freedreno/freedreno_texture.c index d27f47eb29f..e9d90aa3a77 100644 --- a/src/gallium/drivers/freedreno/freedreno_texture.c +++ b/src/gallium/drivers/freedreno/freedreno_texture.c @@ -112,15 +112,6 @@ fd_set_sampler_views(struct pipe_context *pctx, enum pipe_shader_type shader, switch (shader) { case PIPE_SHADER_FRAGMENT: - /* on a2xx, since there is a flat address space for textures/samplers, - * a change in # of fragment textures/samplers will trigger patching - * and re-emitting the vertex shader: - * - * (note: later gen's ignore FD_DIRTY_TEXSTATE so fine to set it) - */ - if (nr != ctx->tex[PIPE_SHADER_FRAGMENT].num_textures) - ctx->dirty |= FD_DIRTY_TEXSTATE; - ctx->dirty |= FD_DIRTY_FRAGTEX; break; case PIPE_SHADER_VERTEX: |