lima/ppir: change offset type to int
authorMateusz Krzak <kszaquitto@gmail.com>
Fri, 7 Jun 2019 22:33:30 +0000 (00:33 +0200)
committerkszaq <kszaquitto@gmail.com>
Thu, 13 Jun 2019 05:43:24 +0000 (07:43 +0200)
commit60009aefdb3d5e9c464bff5fd1a269ca6ea1220b
tree0d445a8f862c4cc09bcf949367c69617f1004ffa
parent900a80f9e4fd3e080c3d048eae8c6e113e9326ba
lima/ppir: change offset type to int

Offset doesn't need to be 64-bit. This fixes compilation error
with 64-bit off_t.

Fixes: af0de6b9 lima/ppir: implement discard and discard_if
Suggested-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Mateusz Krzak <kszaquitto@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
src/gallium/drivers/lima/ir/pp/codegen.c
src/gallium/drivers/lima/ir/pp/ppir.h