radv: fix getting the index type size for uint8_t
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 23 Aug 2019 07:23:21 +0000 (09:23 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 26 Aug 2019 07:23:23 +0000 (09:23 +0200)
commit89671ef205fa93d391e01884da48a876847a5682
treee299dc2c5d0cb62ae0c7525cfadd82254bd020ac
parentbba4d2f442f33bc68a4573a6f1f559f277d7ec51
radv: fix getting the index type size for uint8_t

16-bit and 32-bit values match hardware values but 8-bit doesn't.

This fixes dEQP-VK.pipeline.input_assembly.* with 8-bit index.

Fixes: 372c3dcfdb8 ("radv: implement VK_EXT_index_type_uint8")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl
src/amd/vulkan/radv_cmd_buffer.c