aboutsummaryrefslogtreecommitdiffstats
path: root/docs/shading.html
Commit message (Collapse)AuthorAgeFilesLines
* docs: drop h1 in headerErik Faye-Lund2019-05-081-1/+1
| | | | | | | | | | | It's generally frowned upon to have more than one H1 per document in HTML4. So let's put the text directly inside the header. This means we can drop the flex-based centering, which makes things a bit easier. We also need to change the padding to rem instead of em, because the em has now changed. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
* docs: harmonize headings and titlesErik Faye-Lund2019-05-081-2/+2
| | | | | | | | | | | | | We're pretty insonsistent in what the headings and titles are, especially compared to what the articles are listed as in the sidebar. Let's harmonize this. There's a notable exception for meson.html, where the sidebar uses a short-hand form that makes sense in the sidebar, but not in the article due to the visible context being different. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
* docs: close paragraphs before listsErik Faye-Lund2019-05-021-1/+1
| | | | | | | | | paragraphs can't contain lists, and attempting to close them after the list just cause an extra, empty paragraph to be created. We don't want that, so let's close the paragraphs before the list intead. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
* docs: document MESA_GLSL=errors keywordAlejandro Piñeiro2019-04-301-0/+1
| | | | | | | | Added with commit 0161691f3518, still checked on shaderapi.c _mesa_get_shader_flag method. Fixes: 0161691f3518db310411 "mesa: add GLSL_REPORT_ERRORS debug flag" Reviewed-by: Eric Engestrom <[email protected]>
* docs: update repo URLs after GitLab moveEric Engestrom2018-09-221-1/+1
| | | | | | | | | | | | | I also updated the developer instructions; presumably someone who's been given commit rights already knows how to clone a repository :) A more useful thing is to show how to update the pushurl, and how to use access tokens to push over HTTPS (especially for us at Intel, where non-http traffic is a pain). Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
* docs: Document shader capturing environment variables.Kenneth Graunke2017-09-121-0/+15
| | | | Reviewed-by: Tapani Pälli <[email protected]>
* docs: removed the '--with-sha1' requirement from shading.htmlEleni Maria Stea2017-08-071-3/+3
| | | | | | | | | | | | The configuration option --with-sha1 is no longer required for the MESA_SHADER_READ_PATH, MESA_SHADER_DUMP_PATH environment variables to take effect. 1- removed the "--with-sha1" sentence from docs/shading.html 2- added an extra note: that the corresponding dumped and replacement shaders must have the same filenames for the feature to take effect. Acked-by: Tapani Pälli <[email protected]>
* mesa: add an env var to force cache fallbackTimothy Arceri2017-05-201-0/+2
| | | | | | | | | | | | | | | | | For the gallium state tracker a tgsi binary may have been evicted from the cache to make space. In this case we would take the fallback path and recompile/link the shader. On i965 there are a number of reasons we can get to the program upload stage and have neither IR nor a valid cached binary. For example the binary may have been evicted from the cache or we need a variant that wasn't previously cached. This environment variable enables us to force the fallback path that would be taken in these cases and makes it easier to debug these otherwise hard to reproduce scenarios. Reviewed-by: Nicolai Hähnle <[email protected]>
* mesa: remove MESA_GLSL=optTimothy Arceri2017-03-311-1/+0
| | | | | | | | | This is unused. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
* mesa: remove MESA_GLSL=no_opts env optionTimothy Arceri2017-03-311-1/+0
| | | | | | | | | | | | This is confusing because is only applys to GL_ARB_vertex/fragment_program, and because of that its also not very useful. If someone requires this for debugging they can just make an ad-hoc code change. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
* docs: https all the links \o/Eric Engestrom2017-02-091-2/+2
| | | | | | | | | Most of them already redirected to https anyway, so we might as well avoid the redirection and the security implications by linking directly to the right protocol. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: add new MESA_GLSL flag for printing shader cache debug infoTimothy Arceri2017-01-311-0/+1
| | | | Reviewed-by: Eric Anholt <[email protected]>
* docs: Fix GLSL compiler linkElie TOURNIER2017-01-181-4/+8
| | | | | | | | | | | | | | The doc wasn't update since we moved the glsl compiler to src/compiler/glsl. I also updated the description of the standalone compiler. v2: - Mention that just-log argument removes headers/separators. - Mention that version argument is mandatory. Since version argument is mandatory, add --version to the command line example. Signed-off-by: Elie Tournier <[email protected]> Reviewed-by: Alejandro Piñeiro <[email protected]>
* mesa: Remove EmitCondCodes.Matt Turner2016-03-011-28/+0
| | | | | | Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
* docs: Remove descriptions of long dead Emit* fields.Matt Turner2016-03-011-17/+0
| | | | | | | | Dead since commit d8a366200 in 2010. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
* mesa: change 'SHADER_SUBST' facility to work with env variablesTapani Pälli2015-09-041-0/+14
| | | | | | | | | | | | | | | | | | | Patch modifies existing shader source and replace functionality to work with environment variables rather than enable dumping on compile time. Also instead of _mesa_str_checksum, _mesa_sha1_compute is used to avoid collisions. Functionality is controlled via two environment variables: MESA_SHADER_DUMP_PATH - path where shader sources are dumped MESA_SHADER_READ_PATH - path where replacement shaders are read v2: cleanups, add strerror if fopen fails, put all functionality inside HAVE_SHA1 since sha1 is required Signed-off-by: Tapani Pälli <[email protected]> Suggested-by: Eero Tamminen <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* docs: fix misspellingsNathan Kidd2014-01-061-1/+1
| | | | | | | Fixed what I noticed; no warranty for exhaustiveness. Signed-off-by: Nathan Kidd <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* docs: bump supported shading language versionChris Forbes2013-11-251-1/+1
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* docs: update shading documentationAndreas Boll2012-10-031-8/+5
| | | | Reviewed-by: Brian Paul <[email protected]>
* docs: remove obsolete target attributeAndreas Boll2012-09-191-4/+3
|
* docs: add new iframe layoutAndreas Boll2012-09-191-0/+8
|
* docs: update piglit urlAndreas Boll2012-08-061-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* docs: add missing target attributeAndreas Boll2012-06-251-1/+1
| | | | | | target is needed for the frame based layout Signed-off-by: Brian Paul <[email protected]>
* docs/shading: use proper markupAndreas Boll2012-06-251-11/+11
| | | | | | use dl instead of ul Signed-off-by: Brian Paul <[email protected]>
* docs: use id instead of <a name>Andreas Boll2012-06-121-20/+9
| | | | Signed-off-by: Brian Paul <[email protected]>
* docs: fix html end/start tagsAndreas Boll2012-06-121-3/+2
| | | | | | for more well-formed html Signed-off-by: Brian Paul <[email protected]>
* docs: consolidate html header and footerAndreas Boll2012-06-121-10/+11
| | | | | | | | | add doctype add character encoding add missing <head> tag unify html header and footer Signed-off-by: Brian Paul <[email protected]>
* docs: fix glsl_compiler nameSam Hocevar2011-02-161-1/+1
|
* docs: updated info about GLSL compilerBrian Paul2010-08-241-146/+44
| | | | Ian or Eric should review this and add/edit as needed.
* docs: remove the 'Last updated date'Brian Paul2010-03-201-4/+0
|
* docs: document 'useprog' debug optionBrian Paul2009-10-221-0/+1
|
* docs: document more MESA_GLSL env var optionsBrian Paul2009-10-141-1/+7
|
* docs: document the MESA_GLSL env var, other misc GLSL updatesBrian Paul2009-04-071-3/+29
|
* mesa: updated GLSL docsBrian Paul2008-12-151-43/+27
|
* document GLSL 1.20 statusBrian Paul2008-07-291-0/+35
|
* mesa: revert building glslcompiler by defaultBrian Paul2008-07-211-2/+1
|
* mesa: build the stand-alone glslcompiler by default, update the docsBrian Paul2008-07-171-16/+26
|
* document GLSL float f/F suffix bugBrian2007-11-271-0/+1
|
* document perspective correction issuesBrian2007-04-271-0/+2
|
* document broken inverse trig functionsBrian2007-04-271-0/+1
|
* memory leaks fixedBrian2007-04-211-1/+0
|
* dFdx(), etc. don't work yetBrian2007-04-191-0/+1
|
* glean glsl test now does over 150 testsBrian2007-04-181-1/+1
|
* more tips, validation infoBrian2007-03-281-1/+24
|
* added ftransform() commentBrian2007-03-271-0/+2
|
* minor status updatesBrian2007-03-261-4/+2
|
* document internal compiler optionsBrian2007-03-231-1/+45
|
* gl_ClipVertex not supported yetBrian2007-03-091-0/+1
|
* info about how the compiler worksBrian2007-02-271-2/+51
|
* glslcompiler build instructionsBrian2007-02-221-1/+8
|