summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-02-21 11:21:24 -0800
committerDylan Baker <[email protected]>2017-03-22 16:22:00 -0700
commit860beb99a62ff6e677a0974c91578ac80dfd16d9 (patch)
tree8a5d3e97721fdb46fb930eaadfd88ad5eb01b83d /src/intel/vulkan
parent9050138af77c22cb6ba5b6d6cde74da6af134ee6 (diff)
anv: use cElementTree in anv_entrypoints_gen.py
It's written in C rather than pure python and is strictly faster, the only reason not to use it that it's classes cannot be subclassed. Signed-off-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_entrypoints_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py
index 2c0c968222e..a08cfced6ae 100644
--- a/src/intel/vulkan/anv_entrypoints_gen.py
+++ b/src/intel/vulkan/anv_entrypoints_gen.py
@@ -26,7 +26,7 @@ import argparse
import functools
import os
import textwrap
-import xml.etree.ElementTree as et
+import xml.etree.cElementTree as et
from mako.template import Template