Module: Mesa
Branch: master
Commit: 0f7b18fa0d353aab0a44082b1aca8d8c00df71a7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f7b18fa0d353aab0a44082b1aca8d8c00df71a7

Author: Mathieu Bridon <[email protected]>
Date:   Thu Jul  5 15:17:32 2018 +0200

python: Use the print function

In Python 2, `print` was a statement, but it became a function in
Python 3.

Using print functions everywhere makes the script compatible with Python
versions >= 2.6, including Python 3.

Signed-off-by: Mathieu Bridon <[email protected]>
Acked-by: Eric Engestrom <[email protected]>
Acked-by: Dylan Baker <[email protected]>

---

 src/amd/common/sid_tables.py                      |  39 ++-
 src/amd/vulkan/vk_format_table.py                 |  93 ++---
 src/compiler/nir/nir_builder_opcodes_h.py         |   3 +-
 src/compiler/nir/nir_constant_expressions.py      |   5 +-
 src/compiler/nir/nir_opcodes_c.py                 |   4 +-
 src/compiler/nir/nir_opcodes_h.py                 |   3 +-
 src/compiler/nir/nir_opt_algebraic.py             |  12 +-
 src/gallium/auxiliary/indices/u_indices_gen.py    | 296 ++++++++--------
 src/gallium/auxiliary/indices/u_unfilled_gen.py   |  94 ++---
 src/gallium/auxiliary/util/u_format_pack.py       | 168 ++++-----
 src/gallium/auxiliary/util/u_format_table.py      | 181 +++++-----
 src/gallium/drivers/freedreno/ir3/ir3_nir_trig.py |   8 +-
 src/gallium/drivers/r600/egd_tables.py            |  51 +--
 src/intel/compiler/brw_nir_trig_workarounds.py    |   8 +-
 src/mapi/glapi/gen/glX_proto_common.py            |   8 +-
 src/mapi/glapi/gen/glX_proto_send.py              | 408 +++++++++++-----------
 src/mapi/glapi/gen/glX_proto_size.py              | 232 ++++++------
 src/mapi/glapi/gen/gl_SPARC_asm.py                | 360 +++++++++----------
 src/mapi/glapi/gen/gl_XML.py                      |  48 +--
 src/mapi/glapi/gen/gl_apitemp.py                  |  96 ++---
 src/mapi/glapi/gen/gl_enums.py                    |  62 ++--
 src/mapi/glapi/gen/gl_genexec.py                  |  12 +-
 src/mapi/glapi/gen/gl_gentable.py                 |  14 +-
 src/mapi/glapi/gen/gl_marshal.py                  |  26 +-
 src/mapi/glapi/gen/gl_marshal_h.py                |  16 +-
 src/mapi/glapi/gen/gl_procs.py                    |  60 ++--
 src/mapi/glapi/gen/gl_table.py                    | 126 +++----
 src/mapi/glapi/gen/gl_x86-64_asm.py               | 184 +++++-----
 src/mapi/glapi/gen/gl_x86_asm.py                  | 264 +++++++-------
 src/mapi/glapi/gen/remap_helper.py                |  46 +--
 src/mapi/glapi/gen/typeexpr.py                    |   6 +-
 src/mapi/mapi_abi.py                              | 154 ++++----
 src/mesa/main/format_info.py                      |  40 ++-
 src/mesa/main/format_pack.py                      |   3 +-
 src/mesa/main/format_unpack.py                    |   3 +-
 src/mesa/main/get_hash_generator.py               |  28 +-
 src/util/format_srgb.py                           |  69 ++--
 src/util/xmlpool/gen_xmlpool.py                   |  17 +-
 38 files changed, 1652 insertions(+), 1595 deletions(-)

Diff:   
http://cgit.freedesktop.org/mesa/mesa/diff/?id=0f7b18fa0d353aab0a44082b1aca8d8c00df71a7
_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to