mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:04:56 +00:00
Using optick, linked from boo
This commit is contained in:
@@ -312,6 +312,7 @@ void CFluidPlane::RenderStripWithRipples(float curY, const Heights& heights, con
|
||||
void CFluidPlane::RenderPatch(const CFluidPlaneRender::SPatchInfo& info, const Heights& heights, const Flags& flags,
|
||||
bool noRipples, bool flagIs1, std::vector<CFluidPlaneShader::Vertex>& vOut,
|
||||
std::vector<CFluidPlaneShader::PatchVertex>& pvOut) {
|
||||
OPTICK_EVENT();
|
||||
if (noRipples) {
|
||||
m_shader->bindRegular();
|
||||
|
||||
|
||||
@@ -129,6 +129,7 @@ CFluidPlaneShader::RenderSetupInfo CFluidPlaneCPU::RenderSetup(const CStateManag
|
||||
const zeus::CTransform& xf,
|
||||
const zeus::CTransform& areaXf, const zeus::CAABox& aabb,
|
||||
const CScriptWater* water) {
|
||||
OPTICK_EVENT();
|
||||
CFluidPlaneShader::RenderSetupInfo out;
|
||||
|
||||
const float uvT = mgr.GetFluidPlaneManager()->GetUVT();
|
||||
|
||||
Reference in New Issue
Block a user