swr: Fix make_unique build error.
authorVinson Lee <vlee@freedesktop.org>
Thu, 29 Aug 2019 23:44:09 +0000 (16:44 -0700)
committerVinson Lee <vlee@freedesktop.org>
Mon, 2 Sep 2019 21:52:23 +0000 (14:52 -0700)
commit538820ff5ff3f1ca09f81d4144590fad99081397
tree3696672f0c180f7fb428f43675156415dc07c984
parent1900b82dbfd0dff993e8b9d84fa1d8b03c5f6fa5
swr: Fix make_unique build error.

swr_shader.cpp: In function ‘void (* swr_compile_gs(swr_context*, swr_jit_gs_key&))(HANDLE, HANDLE, SWR_GS_CONTEXT*)’:
swr_shader.cpp:732:44: error: ‘make_unique’ was not declared in this scope
    ctx->gs->map.insert(std::make_pair(key, make_unique<VariantGS>(builder.gallivm, func)));
                                            ^~~~~~~~~~~

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Jan Zielinski <jan.zielinski@intel.com>
src/gallium/drivers/swr/swr_shader.cpp