summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-08-01 10:35:06 +1000
committerTimothy Arceri <timothy.arceri@collabora.com>2016-08-01 14:52:07 +1000
commitcec377eed3ab6420679dceef98ad0eea27b5f644 (patch)
treef88afd6a071bc8b1f9fe13d3a6d251710bc290d4 /src/mesa/drivers/dri/i965/brw_fs.cpp
parent26ff7e373f5675a0a60c97a11ef557ad8b1bfbe5 (diff)
downloadexternal_mesa3d-cec377eed3ab6420679dceef98ad0eea27b5f644.zip
external_mesa3d-cec377eed3ab6420679dceef98ad0eea27b5f644.tar.gz
external_mesa3d-cec377eed3ab6420679dceef98ad0eea27b5f644.tar.bz2
i965: fix comparison warning
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 3309f61..d1ac80a 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -6381,7 +6381,7 @@ move_interpolation_to_top(nir_shader *nir)
instr
};
- for (int i = 0; i < ARRAY_SIZE(move); i++) {
+ for (unsigned i = 0; i < ARRAY_SIZE(move); i++) {
if (move[i]->block != top) {
move[i]->block = top;
exec_node_remove(&move[i]->node);