summaryrefslogtreecommitdiff
path: root/indra/llrender/llglslshader.cpp
AgeCommit message (Collapse)Author
2023-09-06GL TIME_ELAPSED_EXT as alternative to TIME_ELAPSEDErik Kundiman
2023-09-06Some GL_VERSION_2_0 sampler implementor only codeErik Kundiman
preprocessed so it doesn't get compiled on non implementors.
2023-09-06Core profile query related functionsErik Kundiman
replacing their legacy ARB counterparts.
2023-09-06Core profile vertex attribute related functionsErik Kundiman
replacing legacy ARB versions.
2023-09-06Core profile uniform related functionsErik Kundiman
replacing legacy ARB versions.
2023-09-06Core profile program object related functionsErik Kundiman
Whether to create/delete, or take the program object as an argument. Include ones for attaching & detaching shaders too, ones that deal with attributes & uniforms and so on, etc.. Replacing legacy ARB versions.
2023-09-06Core profile glCreateShader & return type GLuintErik Kundiman
to replace the less portable ARB versions.
2023-09-05Preprocess non portable GL funcs & macrosErik Kundiman
so that implementations that don't include a certain GL implementation won't fail trying to compile the code.
2022-06-05Merge remote-tracking branch 'origin/DRTVWR-543-maint_cmake' into ↵Nicky
DRTVWR-543-maint_cmake
2022-04-18Use correct typeNicky
2022-01-14SL-16606: Add profiler category SHADERPtolemy
2021-11-30SL-16386 remove references to (const true) LLGLSLShader::sNoFixedFunctionDave Houlton
2021-11-20SL-16289 Rigged mesh rendering overhaulDave Parks
2021-11-12SL-15391 Crash at getUniformLocationAndrey Kleshchev
2021-10-19SL-16197 Optimize LLEnvironment handling of shader uniforms. Instrument ↵Dave Parks
LLSD. Enable Fast Timers when Tracy is enabled to catch Fast Timer overhead.
2021-10-14SL-16166 Apply optimizations from pushBatch to other render call sites. ↵Runitai Linden
Optimize out a map lookup in rigged face rendering.
2021-10-11SL-16099 Multi-threaded OpenGL usage on Windows, enable Core Profile and ↵Dave Parks
VAOs by default.
2021-10-06SL-16138 Add timing mark-up to shader fxnsDave Houlton
2021-10-05SL-16138 Avoid re-binding a shader which is already boundDave Houlton
2021-09-27SL-16093 Don't force the console window to be open on developer builds ↵Dave Parks
because it causes frame stalls while logging.
2021-09-20SL-16006 and SL-16009 Rigged mesh rendering optimization passDave Parks
2021-04-01SL-14990 Turn on shader init logging after crashAndrey Kleshchev
2020-04-15SL-13019: Add debug logging of shaders used to track down macOSX / OSX GLSL ↵Ptolemy
linker errors
2020-04-15Cleanup to coding standardPtolemy
2019-07-22Remove binding and use of glIsShader for now (only useful for avoiding ↵Graham Linden
warnings about deleting shader objects re-used across programs).
2019-07-22SL-10761Graham Linden
Make vograss objects set their face vert/index counts to 0 when setting the number of blades to 0 to disable rendering so we don't allocate space and then skip setting it up with actual index data in getGeometry.
2019-05-02Roll back sRGB decode changes from contrib for now.Graham Linden
Fix direct light matching across alpha/blended-material/deferred. Get diffuse lighting to match from Low to Ultra.
2019-04-10Separate out vertex program objects from fragment program objects and use it.Geenz
Given that mShaderObjects only ever expects one copy of a given shader object (leading to lots of "shaderV" and "shaderF"), it made having utility shaders a bit more difficult to incorporate. This change makes sure the two are separated. Using this over a multimap largely for readibility. Also, actually, you know, use this functionality. --HG-- branch : OPEN-340
2019-03-30Additional gamma correction work: start moving over to EXT_texture_sRGB_decode.Geenz
2019-03-13Mods to make merge with viewer-release have less whitespace-only change and ↵Graham Linden
fix diffs between EEP and VR.
2019-03-12More tab restoration.Graham Linden
Also fix ref to removed extra GLSL link module. 'warn-on-failure:no-tabs'
2019-03-12Tab restoration project.Graham Linden
'warn-on-failure:no-tabs'
2019-03-07Fix tabs.Graham Linden
2019-03-07SL-10618, SL-10698Graham Linden
Fix reflection/distortion map culling planes again. Fix broken handling of shadow disables in ALM forward shaders.
2019-01-30SL-10415, SL-10434Graham Linden
Further tweaking of directional shadow sampling to balance between peter-panning and shadow acne. Move stars to just this side of the sky some to reduce parallax. Remove decodeNormF and uses of decode_normal in favor of unified use of getNorm (try to help the Intel HD x000 compiler learn to link correctly).
2018-12-06De-duplicate deferred gbuffer access for getPosition/getNorm.Graham Linden
De-duplicate ambient occlusion shader code and move to new aoUtil.glsl Split shared shadow tap funcs into shadowUtil.glsl
2018-11-12SL-10044 SL-10045Graham Linden
Fix class 1 and 2 transport/gamma funcs and made usage consistent across all shaders. Fix class1\environment\waterV reverting to old d1/d2 names for wave directions.
2018-11-06Move to using a shared deferredUtil object for getting pos/norm from gbuffer.Graham Linden
Eliminate 20+ callsites with copy-paste of getPosition and/or getNorm code. Make pipeline use getShadowTarget/releaseShadowTarget consistently.
2018-11-01SL-10000 fix storing of ambient value when converting legacy settingsGraham Linden
2018-10-29SL-9977Graham Linden
SL-9973
2018-09-04Merge and fix MAINT-9087 and MAINT-9084Graham Linden
2018-08-30MAINT-9064Graham Linden
Fix binding of current/next sun/moon textures. Remove redundant code in GLSLShader determination of tex uniform bindings. Unhack mix calls in sun/moon shaders to reverse sense of blending (was working around reversed bindings).
2018-06-11Fix water fog consolidation in underwater shaders.Graham Linden
Add plumbing facilities to allow current and next moon textures to be passed to moon shader. Modify moon shader to blend between current and next moon textures by blend factor.
2018-06-01Code cleanup and move to using typedefs of S64Seconds/F64Seconds for ease in ↵Graham Linden
sync w/ sim side which has not llunits types.
2018-06-01Merge to 5.1.6Graham Linden
2018-05-31MergeRider Linden
2018-05-18Remove MSVC debug pragmas and comment out code to dump example grids.xml ↵Graham Linden graham@lindenlab.com
file w/ hard-coded grids.
2018-05-01Le MergeGraham Linden graham@lindenlab.com
2018-03-12De-duplicate shader code for encoding and decoding normals to/from gbuffer ↵Graham Linden graham@lindenlab.com
format.
2018-03-12De-duplicate sRGB conversion funcs from many shadersGraham Linden graham@lindenlab.com
and unify on using the version that works on OSX. Add more logging to shader loading about fallbacks and loading succcess. Add frag shaders for sharing sRGB and normal encode/decode via GL shader linkage.