mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-16 07:20:59 +00:00
Fix unused function warning
This commit is contained in:
parent
7d84d084a4
commit
0dfc622b58
@ -584,7 +584,7 @@ bool fragment_program_compare::operator()(const RSXFragmentProgram& binary1, con
|
|||||||
namespace rsx
|
namespace rsx
|
||||||
{
|
{
|
||||||
#if defined(ARCH_X64) || defined(ARCH_ARM64)
|
#if defined(ARCH_X64) || defined(ARCH_ARM64)
|
||||||
static void write_fragment_constants_to_buffer_sse2(const std::span<f32>& buffer, const RSXFragmentProgram& rsx_prog, const std::vector<usz>& offsets_cache, bool sanitize)
|
static inline void write_fragment_constants_to_buffer_sse2(const std::span<f32>& buffer, const RSXFragmentProgram& rsx_prog, const std::vector<usz>& offsets_cache, bool sanitize)
|
||||||
{
|
{
|
||||||
f32* dst = buffer.data();
|
f32* dst = buffer.data();
|
||||||
for (usz offset_in_fragment_program : offsets_cache)
|
for (usz offset_in_fragment_program : offsets_cache)
|
||||||
@ -610,9 +610,8 @@ namespace rsx
|
|||||||
dst += 4;
|
dst += 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#else
|
||||||
|
static inline void write_fragment_constants_to_buffer_fallback(const std::span<f32>& buffer, const RSXFragmentProgram& rsx_prog, const std::vector<usz>& offsets_cache, bool sanitize)
|
||||||
static void write_fragment_constants_to_buffer_fallback(const std::span<f32>& buffer, const RSXFragmentProgram& rsx_prog, const std::vector<usz>& offsets_cache, bool sanitize)
|
|
||||||
{
|
{
|
||||||
f32* dst = buffer.data();
|
f32* dst = buffer.data();
|
||||||
|
|
||||||
@ -638,6 +637,7 @@ namespace rsx
|
|||||||
dst += 4;
|
dst += 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void write_fragment_constants_to_buffer(const std::span<f32>& buffer, const RSXFragmentProgram& rsx_prog, const std::vector<usz>& offsets_cache, bool sanitize)
|
void write_fragment_constants_to_buffer(const std::span<f32>& buffer, const RSXFragmentProgram& rsx_prog, const std::vector<usz>& offsets_cache, bool sanitize)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user