mirror of https://github.com/PCSX2/pcsx2.git
GS: Silence ignored-qualifiers warning in GCC too
This commit is contained in:
parent
9d23da226f
commit
1e4e54eca0
|
@ -507,10 +507,13 @@ void GSDevice::SetHWDrawConfigForAlphaPass(GSHWDrawConfig::PSSelector* ps,
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef __clang__
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-function"
|
||||
#pragma clang diagnostic ignored "-Wignored-qualifiers"
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
|
||||
#endif
|
||||
|
||||
// Kinda grotty, but better than copy/pasting the relevant bits in..
|
||||
|
@ -518,8 +521,10 @@ void GSDevice::SetHWDrawConfigForAlphaPass(GSHWDrawConfig::PSSelector* ps,
|
|||
#include "bin/resources/shaders/common/ffx_a.h"
|
||||
#include "bin/resources/shaders/common/ffx_cas.h"
|
||||
|
||||
#ifdef __clang__
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
bool GSDevice::GetCASShaderSource(std::string* source)
|
||||
|
|
Loading…
Reference in New Issue