nv50/ir: support different unordered_set implementations
authorChih-Wei Huang <cwhuang@android-x86.org>
Fri, 19 Jun 2015 18:00:15 +0000 (02:00 +0800)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 20 Aug 2015 21:58:30 +0000 (17:58 -0400)
commit2a4af36517333ef61d5f7ca2264fec3f49ee3662
tree1794a29b072c5279f940a320e160983a5d9f509c
parent56ebd3314bfc5895fab47586fc8cda024aac4fd8
nv50/ir: support different unordered_set implementations

If build with C++11 standard, use std::unordered_set.

Otherwise if build on old Android version with stlport,
use std::tr1::unordered_set with a wrapper class.

Otherwise use std::tr1::unordered_set.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir.h
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h
src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
src/gallium/drivers/nouveau/codegen/unordered_set.h [new file with mode: 0644]