mesa/src/intel/vulkan
Caio Marcelo de Oliveira Filho 01d02e8906 anv: avoid warning when switching in VkStructureType
When one of the cases is not part of the enum, the compilar complains:

../../src/intel/vulkan/anv_formats.c: In function ‘anv_GetPhysicalDeviceFormatProperties2’:
../../src/intel/vulkan/anv_formats.c:728:7: warning: case value ‘1000001004’ not in enumerated type ‘VkStructureType’ {aka ‘enum VkStructureType’} [-Wswitch]
       case VK_STRUCTURE_TYPE_WSI_FORMAT_MODIFIER_PROPERTIES_LIST_MESA:
       ^~~~

Given the switch has an "default:" case, we don't lose anything by
switching on the unsigned value to avoid the warning.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
2018-07-18 08:29:51 -07:00
..
tests anv: Soft-pin state pools 2018-06-01 13:49:22 -07:00
.gitignore anv,nir: add generated files to .gitignore(s) 2018-05-12 20:14:49 -07:00
anv_allocator.c anv: Soft-pin everything else 2018-06-01 14:27:13 -07:00
anv_android.c anv/android: Fix type error in call to vk_errorf() 2018-07-11 11:09:19 -07:00
anv_batch_chain.c anv: Don't even bother processing relocs if we have softpin 2018-06-01 16:34:26 -07:00
anv_blorp.c anv: Make subpass::depth_stencil_attachment a pointer 2018-07-09 10:11:53 -07:00
anv_cmd_buffer.c anv: fix assert in anv_CmdBindDescriptorSets() 2018-07-18 08:54:23 +02:00
anv_descriptor_set.c anv: Be more careful about hashing pipeline layouts 2018-07-02 13:07:06 -07:00
anv_device.c anv: Implement VK_EXT_vertex_attribute_divisor 2018-07-09 15:37:51 -07:00
anv_dump.c anv: enable multiple planes per image/imageView 2017-10-06 16:32:20 +01:00
anv_entrypoints_gen.py anv: Add EXT_acquire_xlib_display to anv driver [v3] 2018-06-19 14:17:46 -07:00
anv_extensions.py anv,radv: Add support for VK_KHR_get_display_properties2 2018-07-09 17:09:41 -07:00
anv_extensions_gen.py anv: Add EXT_acquire_xlib_display to anv driver [v3] 2018-06-19 14:17:46 -07:00
anv_formats.c anv: avoid warning when switching in VkStructureType 2018-07-18 08:29:51 -07:00
anv_gem.c intel: fix check for 48b ppgtt support 2018-04-30 11:34:19 -07:00
anv_gem_stubs.c intel: fix check for 48b ppgtt support 2018-04-30 11:34:19 -07:00
anv_genX.h anv/cmd_buffer: Add a mark_image_written helper 2018-02-08 16:35:31 -08:00
anv_icd.py python: Specify the JSON separators 2018-07-05 12:52:38 +01:00
anv_image.c anv: Use an address for each anv_image plane 2018-05-31 16:51:46 -07:00
anv_intel.c anv: intel: add softpin flag on imported BOs 2018-06-05 14:18:35 +01:00
anv_nir.h anv: Implement vkCmdDispatchBase 2018-03-07 12:13:47 -08:00
anv_nir_add_base_work_group_id.c anv: Implement vkCmdDispatchBase 2018-03-07 12:13:47 -08:00
anv_nir_apply_pipeline_layout.c anv: Add state setup support for shader constants 2018-07-02 12:09:49 -07:00
anv_nir_lower_input_attachments.c anv/pipeline: Convert lower_input_attachments to deref instructions 2018-06-22 20:54:00 -07:00
anv_nir_lower_multiview.c anv/pipeline: Convert lower_multiview to deref instructions 2018-06-22 20:54:00 -07:00
anv_nir_lower_push_constants.c spirv/i965/anv: Relax push constant offset assertions being 32-bit aligned 2018-02-28 21:37:40 -08:00
anv_nir_lower_ycbcr_textures.c anv/pipeline: Convert YCbCr lowering to deref instructiosn 2018-06-22 20:54:00 -07:00
anv_pass.c anv: Add support for VK_KHR_create_renderpass2 2018-07-09 10:11:53 -07:00
anv_pipeline.c anv: Implement VK_EXT_vertex_attribute_divisor 2018-07-09 15:37:51 -07:00
anv_pipeline_cache.c anv/pipeline: honor the pipeline_cache_enabled run-time flag 2018-07-09 08:40:26 +02:00
anv_private.h anv/pipeline: Add a per-VB instance divisor 2018-07-09 15:37:51 -07:00
anv_queue.c anv: add VK_EXT_display_control to anv driver [v5] 2018-06-23 07:59:00 -07:00
anv_util.c anv: avoid segmentation fault due to vk_error() 2018-01-19 09:39:05 +01:00
anv_wsi.c anv: Add VK_EXT_display_surface_counter to anv driver [v2] 2018-06-20 08:16:34 -07:00
anv_wsi_display.c anv,radv: Add support for VK_KHR_get_display_properties2 2018-07-09 17:09:41 -07:00
anv_wsi_wayland.c anv/wsi: Don't include wayland headers 2017-03-13 11:16:30 +00:00
anv_wsi_x11.c vulkan/wsi/radv: add initial prime support (v1.1) 2017-02-27 05:42:16 +10:00
gen7_cmd_buffer.c anv: Make subpass::depth_stencil_attachment a pointer 2018-07-09 10:11:53 -07:00
gen8_cmd_buffer.c anv: Use an anv_address in anv_buffer 2018-05-31 16:51:46 -07:00
genX_blorp_exec.c intel/blorp: Emit VF cache invalidates for 48-bit bugs with softpin. 2018-06-06 19:45:09 -07:00
genX_cmd_buffer.c anv/pipeline: Add a per-VB instance divisor 2018-07-09 15:37:51 -07:00
genX_gpu_memcpy.c intel: Drop SURFACE_FORMAT enum from genxml. 2018-03-05 09:51:08 -08:00
genX_pipeline.c anv/pipeline: Add a per-VB instance divisor 2018-07-09 15:37:51 -07:00
genX_query.c anv: Soft-pin everything else 2018-06-01 14:27:13 -07:00
genX_state.c anv/icl: Don't set float blend optimization bit in CACHE_MODE_SS 2018-07-09 15:38:42 -07:00
meson.build vulkan: EXT_acquire_xlib_display requires libXrandr headers to build 2018-06-20 10:42:05 -07:00
TODO anv: Implement pipeline statistics queries 2017-03-17 12:12:50 -07:00
vk_format_info.h Get rid of a bunch of KHR suffixes 2018-03-07 12:13:47 -08:00