Module: Mesa Branch: master Commit: 1303afdd4fa7d2cad0857efd036aac6f0ed4401d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1303afdd4fa7d2cad0857efd036aac6f0ed4401d
Author: Rob Clark <[email protected]> Date: Mon May 15 14:08:16 2017 -0400 freedreno/a5xx: remove unneeded assert Signed-off-by: Rob Clark <[email protected]> --- src/gallium/drivers/freedreno/a5xx/fd5_emit.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c index 0e2d204484..d959f09fc2 100644 --- a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c +++ b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c @@ -174,15 +174,12 @@ struct PACKED bcolor_entry { #define FD5_BORDER_COLOR_SIZE 0x60 #define FD5_BORDER_COLOR_UPLOAD_SIZE (2 * PIPE_MAX_SAMPLERS * FD5_BORDER_COLOR_SIZE) -#define FD5_BORDER_COLOR_OFFSET 8 /* TODO probably should be dynamic */ static void setup_border_colors(struct fd_texture_stateobj *tex, struct bcolor_entry *entries) { unsigned i, j; - debug_assert(tex->num_samplers < FD5_BORDER_COLOR_OFFSET); // TODO - for (i = 0; i < tex->num_samplers; i++) { struct bcolor_entry *e = &entries[i]; struct pipe_sampler_state *sampler = tex->samplers[i]; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
