src/intel/compiler/brw_fs.cpp:5752:45: warning: comparison between
   signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
---
 src/intel/compiler/brw_fs.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index c8062de4ffb..fde06ddfc17 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -5689,7 +5689,7 @@ fs_visitor::lower_simd_width()
          /* Split the copies in chunks of the execution width of either the
           * original or the lowered instruction, whichever is lower.
           */
-         const unsigned n = DIV_ROUND_UP(inst->exec_size, lower_width);
+         const int n = DIV_ROUND_UP(inst->exec_size, lower_width);
          const unsigned dst_size = inst->size_written /
             inst->dst.component_size(inst->exec_size);
 
-- 
2.18.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to