llvmpipe/draw: fix image sizes for vertex/geometry shaders.
authorDave Airlie <airlied@redhat.com>
Wed, 9 Oct 2019 04:13:19 +0000 (14:13 +1000)
committerDave Airlie <airlied@linux.ie>
Thu, 10 Oct 2019 21:52:20 +0000 (21:52 +0000)
commit744b8936dfd7bb21bf04a47ae83bcad75716e46f
treee7fc9bf4695642103d0c5a0183dbd8a7872a7d5b
parent7cac880831b21d2fcddf6477518a458dca9fc217
llvmpipe/draw: fix image sizes for vertex/geometry shaders.

since images are a single level, minify before passing the w/h
to draw.

Fixes: KHR-GLES31.core.shader_image_size.basic-nonMS-vs-*
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_sampler.c