diff options
author | Mauro Rossi <[email protected]> | 2018-08-14 21:10:54 +0200 |
---|---|---|
committer | Mauro Rossi <[email protected]> | 2018-08-15 14:34:50 +0200 |
commit | 43318d5857bd41981eb8a201982430f676e092c5 (patch) | |
tree | bea16f7ad0558f469eb972c0d2f6a98b7ff3d894 /docs/favicon.png | |
parent | 73b342c7a52a93d283799800824311639f372de0 (diff) |
radv/meta_decompress: fix pointer to integer conversion
VK_NULL_HANDLE replaces NULL to avoid following building error:
external/mesa/src/amd/vulkan/radv_meta_decompress.c:365:54: error:
incompatible pointer to integer conversion passing 'void *' to parameter
of type 'VkShaderModule' (aka 'unsigned long long') [-Werror,-Wint-conversion]
VkResult ret = create_pipeline(cmd_buffer->device, NULL, samples,
^~~~
prebuilts/clang/host/linux-x86/clang-4053586/lib64/clang/5.0.300080/include/stddef.h:105:16:
note: expanded from macro 'NULL'
# define NULL ((void*)0)
^~~~~~~~~~
external/mesa/src/amd/vulkan/radv_meta_decompress.c:97:32:
note: passing argument to parameter 'vs_module_h' here
VkShaderModule vs_module_h,
^
1 error generated.
Fixes: fbcd167314 ("radv: Add on-demand compilation of built-in shaders.")
Signed-off-by: Mauro Rossi <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'docs/favicon.png')
0 files changed, 0 insertions, 0 deletions