OSDN Git Service

glsl: fix uniform remap table cache when explicit locations used
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 12 Apr 2016 07:20:49 +0000 (17:20 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 17 Feb 2017 00:18:42 +0000 (11:18 +1100)
commit3c45d8f4642b86eeecd7b8c30b4e6225d4e9ebdc
treed411f61f3af3e0d179bffcb96e120bc1de836bd2
parenta01973a78450573ab5bc66bbabd2bcd50a783a8e
glsl: fix uniform remap table cache when explicit locations used

V2: don't store pointers use an enum instead to flag what should be
restored. Also do the work in a helper that we will later use for
the subroutine remap table.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/shader_cache.cpp