freedreno/ir3: Fix the arg to ir3_get_num_components_for_image_format()
authorEric Anholt <eric@anholt.net>
Wed, 5 Feb 2020 23:01:01 +0000 (15:01 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 18:25:02 +0000 (18:25 +0000)
commita7038403204b7f2017cdd390a911f2393a8f6513
treee21e1ab8e7fc07f2e85af2f441924d74828596e0
parent8aa54e6ed0ba8db984541271404add6e496ed491
freedreno/ir3: Fix the arg to ir3_get_num_components_for_image_format()

GLuint worked fine for storing our enum, but it should be an enum
pipe_format since the image-formats merge.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3728>
src/freedreno/ir3/ir3_image.c
src/freedreno/ir3/ir3_image.h