From b515470bcb2d06e03f12f83ed64058d94004c388 Mon Sep 17 00:00:00 2001 From: mobserveur Date: Tue, 8 Apr 2025 17:16:29 +0200 Subject: [PATCH] AA Slowing down the viewer on Mac FIX AA was causing the viewer to slow down when used with hdr & emissive option ON. This commit fixes the issue, by making sure mipmap generation is inactive on the Luminance framebuffer. --- indra/newview/pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 6adf203ea15..95778fd268f 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -1489,7 +1489,7 @@ void LLPipeline::createLUTBuffers() glClearColor(0, 0, 0, 0); mExposureMap.flush(); - mLuminanceMap.allocate(256, 256, GL_R16F, false, LLTexUnit::TT_TEXTURE, LLTexUnit::TMG_AUTO); + mLuminanceMap.allocate(256, 256, GL_R16F, false, LLTexUnit::TT_TEXTURE); mLastExposure.allocate(1, 1, GL_R16F); }