mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-05 20:25:25 +02:00
12 lines
328 B
C
12 lines
328 B
C
#pragma once
|
|
|
|
#include "Common/Math/CrossSIMD.h"
|
|
#include "GPU/GPUState.h"
|
|
|
|
inline Vec4F32 GetViewportOffsetVec(const GPUgstate &gstate) {
|
|
return Vec4F32::LoadF24x3_DontCare(&gstate.viewportxcenter);
|
|
}
|
|
inline Vec4F32 GetViewportScaleVec(const GPUgstate &gstate) {
|
|
return Vec4F32::LoadF24x3_DontCare(&gstate.viewportxscale);
|
|
}
|