Tapani Pälli
04e201d0c0
mesa: change 'SHADER_SUBST' facility to work with env variables
...
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 <tapani.palli@intel.com>
Suggested-by: Eero Tamminen <eero.t.tamminen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
2015-09-04 08:22:37 +03:00
Nathan Kidd
0691b37732
docs: fix misspellings
...
Fixed what I noticed; no warranty for exhaustiveness.
Signed-off-by: Nathan Kidd <nkidd@opentext.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
2014-01-06 09:55:38 -07:00
Chris Forbes
f6159afa19
docs: bump supported shading language version
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-11-25 21:18:33 +13:00
Andreas Boll
d495669965
docs: update shading documentation
...
Reviewed-by: Brian Paul <brianp@vmware.com>
2012-10-03 08:53:46 +02:00
Andreas Boll
a73c59b7a6
docs: remove obsolete target attribute
2012-09-19 17:15:48 +02:00
Andreas Boll
b5da52ac58
docs: add new iframe layout
2012-09-19 17:15:47 +02:00
Andreas Boll
102617bc52
docs: update piglit url
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2012-08-06 16:23:43 -06:00
Andreas Boll
a5447aab96
docs: add missing target attribute
...
target is needed for the frame based layout
Signed-off-by: Brian Paul <brianp@vmware.com>
2012-06-25 16:10:01 -06:00
Andreas Boll
d52419e0c3
docs/shading: use proper markup
...
use dl instead of ul
Signed-off-by: Brian Paul <brianp@vmware.com>
2012-06-25 16:10:01 -06:00
Andreas Boll
cc4188895b
docs: use id instead of <a name>
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2012-06-12 08:03:30 -06:00
Andreas Boll
df2be226d9
docs: fix html end/start tags
...
for more well-formed html
Signed-off-by: Brian Paul <brianp@vmware.com>
2012-06-12 08:03:30 -06:00
Andreas Boll
ecd5c7ceb8
docs: consolidate html header and footer
...
add doctype
add character encoding
add missing <head> tag
unify html header and footer
Signed-off-by: Brian Paul <brianp@vmware.com>
2012-06-12 08:03:29 -06:00
Sam Hocevar
fde4943688
docs: fix glsl_compiler name
2011-02-16 17:05:08 -07:00
Brian Paul
f3ec111b0a
docs: updated info about GLSL compiler
...
Ian or Eric should review this and add/edit as needed.
2010-08-24 09:02:08 -06:00
Brian Paul
f0491c945c
docs: remove the 'Last updated date'
2010-03-20 10:33:10 -06:00
Brian Paul
347fb3737b
docs: document 'useprog' debug option
2009-10-22 18:35:13 -06:00
Brian Paul
85fb3e4027
docs: document more MESA_GLSL env var options
2009-10-14 19:09:08 -06:00
Brian Paul
439909a87d
docs: document the MESA_GLSL env var, other misc GLSL updates
2009-04-07 11:09:53 -06:00
Brian Paul
c4341fe80a
mesa: updated GLSL docs
2008-12-15 18:30:40 -07:00
Brian Paul
1a5c99f4b5
document GLSL 1.20 status
2008-07-29 16:46:08 -06:00
Brian Paul
77497eb73b
mesa: revert building glslcompiler by default
2008-07-21 09:01:34 -06:00
Brian Paul
3bfedb7ed4
mesa: build the stand-alone glslcompiler by default, update the docs
2008-07-17 15:40:10 -06:00
Brian
5ef3a2c06d
document GLSL float f/F suffix bug
2007-11-27 10:31:55 -07:00
Brian
4b1d1b7b18
document perspective correction issues
2007-04-27 15:25:00 -06:00
Brian
7ff72a7659
document broken inverse trig functions
2007-04-27 15:23:19 -06:00
Brian
fc3d6bd351
memory leaks fixed
2007-04-21 12:30:58 -06:00
Brian
ba3d384e94
dFdx(), etc. don't work yet
2007-04-19 14:24:29 -06:00
Brian
8598f55091
glean glsl test now does over 150 tests
2007-04-18 09:30:07 -06:00
Brian
7eba12edce
more tips, validation info
2007-03-28 17:14:35 -06:00
Brian
05e6fd8398
added ftransform() comment
2007-03-27 16:06:48 -06:00
Brian
b67d93111d
minor status updates
2007-03-26 10:23:50 -06:00
Brian
8f9db0f81c
document internal compiler options
2007-03-23 17:49:19 -06:00
Brian
b03e1712b2
gl_ClipVertex not supported yet
2007-03-09 09:51:55 -07:00
Brian
07e62084bb
info about how the compiler works
2007-02-27 16:45:40 -07:00
Brian
ff0cc92757
glslcompiler build instructions
2007-02-22 16:29:48 -07:00
Brian
6d4cf6be4e
updated info about arrays, predefined uniforms
2007-02-21 16:07:03 -07:00
Brian
61d31ae10d
info about stand-alone compiler
2007-02-17 09:41:19 -07:00
Brian
fc5a7ea5de
noise() works now
2007-01-28 19:02:03 -07:00
Brian
bbec2fdb3a
minor updates
2007-01-28 12:11:10 -07:00
Brian
9595d1935c
Added a page with shading language status, tips, etc.
2007-01-20 13:40:57 -07:00