summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
AgeCommit message (Collapse)Author
2016-12-17Backed out changeset bb47510bda62: don't change TYPE_MAX.Nat Goodspeed
Ruslan points out that changing TYPE_MAX could lead to extra (useless) render passes. We will have to solve the TYPE_INDEX > TYPE_MAX problem another way.
2016-12-16DRTVWR-418: Put TYPE_INDEX within TYPE_MAX: stop undefined indexing.Nat Goodspeed
LLVertexBuffer::TYPE_INDEX was past TYPE_MAX, which is used to set the maximum sizes of various (scattered) arrays, bleh. The alarm bells that this SHOULD set off are indeed correct: TYPE_INDEX was being used to index at least one of those arrays, meaning we've been indexing past the end of that array, meaning undefined behavior. The enum that defines both TYPE_INDEX and TYPE_MAX provides a helpful comment indicating what things must be updated when modifying the enum. (Far better to define things centrally in a single place... but another time.) Update the designated arrays to include a final TYPE_INDEX entry. Contents of those entries are wild guesses -- but even wild guesses are better than completely indeterminate data.
2016-07-18Backed out changeset: 5fe5ad059c05ruslantproductengine
2016-05-23Automated merge with tip of viewer-releasecallum_linden
2016-05-13Add invert texture coordinates for media textures.ruslantproductengine
2016-03-07make shader loading messages LL_DEBUGSOz Linden
2015-11-10remove execute permission from many files that should not have itOz Linden
2014-11-10merge changes for 3.7.20-releaseOz Linden
2014-10-14STORM-2080: correct fitted mesh rendering on some ATI cardsOz Linden
2014-06-19Automated merge with http://bitbucket.org/lindenlab/viewer-releaseDave Parks
2014-03-19MAINT-3131 Use benchmark to determine GPU class instead of GPU table.Dave Parks
2014-02-12merge with releaseRichard Linden
2013-10-10Quite down log spam from loading shaders.Dave Parks
Up bone cap to 64 for rigged meshes.
2013-10-08merge from viewer-releaseRichard Linden
2013-10-01Automated merge with http://bitbucket.org/lindenlab/viewer-releaseRichard Linden
2013-09-18The unbearable lightness of being norspecGraham Linden
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-30NORSPEC-314 rollback unified srgb shader code to see if we can get past Mac ↵Graham Madarasz (Graham Linden)
10.6.8 nV driver issues
2013-07-29NORSPEC-314 WIP fix srgb_mac use and issues found with RenderDebugGL on MacGraham Madarasz (Graham Linden)
2013-07-25NORSPEC-325 WIP restore gamma (uncorrected) attenuation and unify sRGB ↵Graham Linden
conversion in one place
2013-07-24NORSPEC-311 make post deferred (alpha objects) respect same gamma ramp as ↵Graham Linden
deferred (opaque objects)
2013-06-21Automated merge with file:///F:%5Cviewer-bearDave Parks
2013-06-03NORSPEC-229 Fix for bad binormals on mirrored surfaces (use tangent ↵Dave Parks
calculator instead of binormal calculator, convert binormal centric code to tangent centric)
2013-05-29NORSPEC-198, NORSPEC-176, NORSPEC-106, NORSPEC-202 et al -- Material matrix ↵Dave Parks
testing based overhaul WIP Reviewed by Graham
2013-05-23NORSPEC-198, NORSPEC-176, NORSPEC-106 WIP Fix for various fullbright/shiny ↵Dave Parks
descrepencies.
2013-05-13De-bork the viewer merge, causing black in-world images. Reviewed by Kellysimon
2013-05-09Merge downstream code and viewer-betasimon
2013-05-01Merge vwr-dev-matGraham Madarasz
2013-04-30Merge 3.5.1 into MaterialsGraham Madarasz
2013-04-26Provide LLGLSLShader backwards compat so as not to break the appearance utilityGraham Madarasz
2013-04-25Merge 3.5.1 into MaterialsGraham Madarasz
2013-04-11First pass on alpha blended materialsGeenz
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-04MAINT-2371 More optimizations.Dave Parks
Reviewed by Graham
2013-02-04Added a new draw pool specifically for faces with materials applied to them. ↵Geenz
Removed materials rendering from the bump draw pool, and reverted it to its previous state.
2013-01-30Specular map support. This is the vast majority of the material parameters ↵Geenz
implemented at this point for opaque geometry.
2013-01-25Trying to set materials up for rendering! Yay!Geenz
2013-01-11Initial (largely complete) gamma correct rendering implementation.Geenz
2012-08-29Use an unordered map for custom #defines instead of a map. Lookups are ↵Jonathan Goodman
faster, and we don't really care about any particular order anyways for these.
2012-08-29Just pass in an empty preprocessor definition map from now on. The shader ↵Jonathan Goodman
compiler won't add new #defines if it's empty.
2012-08-28Added support for adding custom preprocessor definitions (for shader ↵Jonathan Goodman
permutations)
2012-07-11MAINT-794 Fix for assert on loading some types of objects before their parents.Dave Parks
2012-06-28MergeDave Parks
2012-06-22MAINT-653 Fix for shadow acne at high altitudesDave Parks
2012-05-25MAINT-616 Faster issuance of occlusion queries.Dave Parks
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
Coalesced patchset.
2012-02-28SH-2908 Fix for incompatibility issue with GLSL 1.30Dave Parks
2012-02-22SH-2908 Fix for crash when enabling Lighting and Shadows on some AMD GPUsDave Parks
2012-02-21SH-2908 Potential fix for pink textures on some OpenGL 3.1 implementations.Dave Parks
2012-02-17SH-2908 Potential fix for precision complaints from some AMD OpenGL 3.1 ↵Dave Parks
implementations.