mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-26 23:50:31 +00:00
Common: Build fix when compiling with AVX2 march
This commit is contained in:
parent
036e11f7a8
commit
ca6b99401b
@ -2472,8 +2472,6 @@ SOFTWARE.
|
||||
Some shaders provided with the application are sourced from:
|
||||
<ul>
|
||||
<li><a href="https://github.com/Matsilagi/RSRetroArch/">https://github.com/Matsilagi/RSRetroArch/</a></li>
|
||||
<li><a href="https://github.com/akgunter/crt-royale-reshade">https://github.com/akgunter/crt-royale-reshade</a></li>
|
||||
<li><a href="https://github.com/HelelSingh/CRT-Guest-ReShade">https://github.com/HelelSingh/CRT-Guest-ReShade</a></li>
|
||||
</ul>
|
||||
License details are included in the relevant shader source files, under resources\shaders\reshade.
|
||||
|
||||
|
@ -2640,7 +2640,7 @@ public:
|
||||
template<s32 i>
|
||||
ALWAYS_INLINE GSVector8i srl() const
|
||||
{
|
||||
return GSVector8i(_mm256_srli_si128(m, i));
|
||||
return GSVector8i(_mm256_srli_si256(m, i));
|
||||
}
|
||||
|
||||
template<s32 i>
|
||||
@ -2652,7 +2652,7 @@ public:
|
||||
template<s32 i>
|
||||
ALWAYS_INLINE GSVector8i sll() const
|
||||
{
|
||||
return GSVector8i(_mm256_slli_si128(m, i));
|
||||
return GSVector8i(_mm256_slli_si256(m, i));
|
||||
}
|
||||
|
||||
template<s32 i>
|
||||
|
@ -6,11 +6,19 @@
|
||||
|
||||
#include "cpuinfo.h"
|
||||
|
||||
#include "common/gsvector.h"
|
||||
#include "common/log.h"
|
||||
#include "common/string_util.h"
|
||||
|
||||
LOG_CHANNEL(GPU_SW_Rasterizer);
|
||||
|
||||
// Disable 256-bit. We emit that path in a separate file.
|
||||
// TODO: For those who are compiling with -march=native, probably only want to compile the 256-bit renderer.
|
||||
// Once it's done, anyway....
|
||||
#ifdef GSVECTOR_HAS_256
|
||||
#undef GSVECTOR_HAS_256
|
||||
#endif
|
||||
|
||||
namespace GPU_SW_Rasterizer {
|
||||
constinit const DitherLUT g_dither_lut = []() constexpr {
|
||||
DitherLUT lut = {};
|
||||
|
Loading…
Reference in New Issue
Block a user