i965: Remove unnecessary mt->compressed checks
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 10 Jan 2017 22:04:19 +0000 (14:04 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 19 Jan 2017 22:28:18 +0000 (14:28 -0800)
commit6de293284bff2d2f8e5b08ea21fc1e2ed68a181f
tree3f9a2f5b785639da2172680cadaadeac646b95fa
parentc7e37a0cb8d46cde4e6ea1c7bb0d8e517995c726
i965: Remove unnecessary mt->compressed checks

It's harmless to use ALIGN_NPOT() for uncompressed formats
because they have block width/height = 1.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/mesa/drivers/dri/i965/brw_tex_layout.c