summaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.vulkan.am
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2017-03-31 09:57:22 -0700
committerKenneth Graunke <[email protected]>2017-04-24 15:14:08 -0700
commit4ace73b1f6e8c8d96663a0d8f0f1d61f934e9cb2 (patch)
tree7d8d962d5e8fa40d136a86233acbc083ecac0aba /src/intel/Makefile.vulkan.am
parent19720405d5c455e2920e549606f8a45437a3a816 (diff)
genxml: Fix python crash when no dwords are found.
If the 'dwords' dict is empty, max(dwords.keys()) throws an exception. This case could happen when we have an instruction that is only an array of other structs, with variable length. v2: - Add another clause for empty dwords and make it work with python 3 (Dylan) - Set the length to 0 if dwords is empty, and do not declare dw Signed-off-by: Rafael Antognolli <[email protected]> Reviewed-by: Dylan Baker <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/Makefile.vulkan.am')
0 files changed, 0 insertions, 0 deletions