mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Silence warnings shown in Xcode
This commit is contained in:
parent
de717a50d3
commit
f869661e66
@ -1941,7 +1941,7 @@ bool gl3_filter_chain::init_alias()
|
|||||||
if (name.empty())
|
if (name.empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
j = &passes[i] - passes.data();
|
j = (unsigned)(&passes[i] - passes.data());
|
||||||
|
|
||||||
if (!slang_set_unique_map(common.texture_semantic_map, name,
|
if (!slang_set_unique_map(common.texture_semantic_map, name,
|
||||||
slang_texture_semantic_map{ SLANG_TEXTURE_SEMANTIC_PASS_OUTPUT, j }))
|
slang_texture_semantic_map{ SLANG_TEXTURE_SEMANTIC_PASS_OUTPUT, j }))
|
||||||
@ -1965,7 +1965,7 @@ bool gl3_filter_chain::init_alias()
|
|||||||
|
|
||||||
for (i = 0; i < common.luts.size(); i++)
|
for (i = 0; i < common.luts.size(); i++)
|
||||||
{
|
{
|
||||||
unsigned j = &common.luts[i] - common.luts.data();
|
unsigned j = (unsigned)(&common.luts[i] - common.luts.data());
|
||||||
if (!slang_set_unique_map(common.texture_semantic_map,
|
if (!slang_set_unique_map(common.texture_semantic_map,
|
||||||
common.luts[i]->get_id(),
|
common.luts[i]->get_id(),
|
||||||
slang_texture_semantic_map{ SLANG_TEXTURE_SEMANTIC_USER, j }))
|
slang_texture_semantic_map{ SLANG_TEXTURE_SEMANTIC_USER, j }))
|
||||||
|
@ -1446,7 +1446,7 @@ bool vulkan_filter_chain::init_alias()
|
|||||||
if (name.empty())
|
if (name.empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
j = &passes[i] - passes.data();
|
j = (unsigned)(&passes[i] - passes.data());
|
||||||
|
|
||||||
if (!slang_set_unique_map(
|
if (!slang_set_unique_map(
|
||||||
common.texture_semantic_map, name,
|
common.texture_semantic_map, name,
|
||||||
@ -1471,7 +1471,7 @@ bool vulkan_filter_chain::init_alias()
|
|||||||
|
|
||||||
for (i = 0; i < common.luts.size(); i++)
|
for (i = 0; i < common.luts.size(); i++)
|
||||||
{
|
{
|
||||||
unsigned j = &common.luts[i] - common.luts.data();
|
unsigned j = (unsigned)(&common.luts[i] - common.luts.data());
|
||||||
if (!slang_set_unique_map(
|
if (!slang_set_unique_map(
|
||||||
common.texture_semantic_map,
|
common.texture_semantic_map,
|
||||||
common.luts[i]->get_id(),
|
common.luts[i]->get_id(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user