summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_array_refcount.cpp
diff options
context:
space:
mode:
authorMathieu Bridon <[email protected]>2018-08-09 10:27:20 +0200
committerDylan Baker <[email protected]>2018-08-09 16:49:18 -0700
commitc644b2d7a7602e929b92dd2c52ed2765928e02b1 (patch)
tree086cfb8a060db6d2d0f459ae435ba3220e0487a2 /src/compiler/glsl/ir_array_refcount.cpp
parentd9ca4a172e8e8a42217588ca1b83a7ceb5bf3f76 (diff)
python: Explicitly use a list
On Python 2, the builtin functions filter() returns a list. On Python 3, it returns an iterator. Since we want to use those objects in contexts where we need lists, we need to explicitly turn them into lists. This makes the code compatible with both Python 2 and Python 3. Signed-off-by: Mathieu Bridon <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_array_refcount.cpp')
0 files changed, 0 insertions, 0 deletions