radv: spir-v allows texture size query with and without lod.
authorDave Airlie <airlied@redhat.com>
Fri, 18 Nov 2016 03:58:30 +0000 (03:58 +0000)
committerDave Airlie <airlied@redhat.com>
Sun, 20 Nov 2016 23:00:22 +0000 (09:00 +1000)
commitb1340fd708bb873617b8a529ac45cbc9507bd6c4
treeded294edf1c001bc91e220637c858bf1478f86ae
parent6d7be52d90cd5f4798b9612e8a68f6d6d9e31c33
radv: spir-v allows texture size query with and without lod.

The translation to llvm was failing here due to required lod.

This fixes some new  SteamVR shaders.

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c