diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-10-27 14:21:12 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2015-10-30 08:12:53 +0100 |
commit | 7b8cc375851286e0da59fd0afde28c67b3bcabf1 (patch) | |
tree | e8d99873772184d43a7eec9b5808b76105961209 /include/pci_ids/radeonsi_pci_ids.h | |
parent | f7f1bc6cca251193105d59811d7313e69e867d78 (diff) |
main: fix basename match's check if it's an array or struct
Commit 4565b6f did not update the basename match's check for
the case that string would exactly match the name of the
variable if the suffix "[0]" were appended to it.
Fixes two dEQP-GLES31 tests:
dEQP-GLES31.functional.program_interface_query.shader_storage_block.resource_list.block_array
dEQP-GLES31.functional.program_interface_query.shader_storage_block.resource_list.block_array_single_element
v2:
- Change the position of rname_has_array_index_zero to avoid an out-of-bounds
read. Reported by Tapani Pälli.
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'include/pci_ids/radeonsi_pci_ids.h')
0 files changed, 0 insertions, 0 deletions