mesa: Avoid set comprehension.
authorVinson Lee <vlee@freedesktop.org>
Thu, 29 Jun 2017 06:13:26 +0000 (23:13 -0700)
committerVinson Lee <vlee@freedesktop.org>
Wed, 5 Jul 2017 19:48:26 +0000 (12:48 -0700)
commit95731b7ccc605bbfe2c3cb3d533219bc0788cbaa
treeaad97c4a017434707d407bc2eea08a9477651816
parent860a8e6b99b27b50d3545a4077afcaf0fcba264a
mesa: Avoid set comprehension.

Fix build error on CentOS 6.9 with Python 2.6.

  GEN    main/format_fallback.c
  File "./main/format_fallback.py", line 42
    names = {fmt.name for fmt in formats}
                        ^
SyntaxError: invalid syntax

Fixes: a1983223d883 ("mesa: Add _mesa_format_fallback_rgbx_to_rgba() [v2]")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/mesa/main/format_fallback.py