summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Remove unused and out of date Makefile.am.Kenneth Graunke2010-11-151-81/+0
| | | | | This was from when glsl2 lived in a separate repository and used automake.
* glsl: Add constant expression handling for asinh, acosh, and atanh.Kenneth Graunke2010-11-151-0/+12
|
* glsl: Refresh autogenerated file builtin_function.cpp.Kenneth Graunke2010-11-151-2999/+189
|
* glsl: Implement the asinh, acosh, and atanh built-in functions.Kenneth Graunke2010-11-155-4/+79
|
* generate_builtins.py: Fix inconsistent use of tabs and spaces warning.Kenneth Graunke2010-11-151-3/+3
|
* glsl: Refresh autogenerated lexer and parser files.Kenneth Graunke2010-11-153-2015/+2183
| | | | For the last three commits.
* glsl: Add support for the 'u' and 'U' unsigned integer suffixes.Kenneth Graunke2010-11-151-6/+8
|
* glsl: Add new keywords and reserved words for GLSL 1.30.Kenneth Graunke2010-11-152-0/+22
|
* glsl: Rework reserved word/keyword handling in the lexer.Kenneth Graunke2010-11-151-117/+122
| | | | | | | | | | | | | | | | This consolidates the TOKEN_OR_IDENTIFIER and RESERVED_WORD macros into a single KEYWORD macro. The old TOKEN_OR_IDENTIFIER macros handled the case of a word going from an identifier to a keyword; the RESERVED_WORD macro handled a word going from a reserved word to a language keyword. However, neither could properly handle samplerBuffer (for example), which is an identifier in 1.10 and 1.20, a reserved word in 1.30, and a keyword in 1.40 and on. Furthermore, the existing macros didn't properly handle reserved words in GLSL ES 1.00. The best they could do was return a token (rather than an identifier), resulting in an obtuse parser error, rather than a user-friendly "you used a reserved word" error message.
* glsl: Convert glsl_type::base_type from #define'd constants to an enum.Kenneth Graunke2010-11-152-12/+14
| | | | | This is nice because printing type->base_type in GDB will now give you a readable name instead of a number.
* glsl: Remove GLSL_TYPE_FUNCTION define.Kenneth Graunke2010-11-152-9/+2
| | | | | | | Functions are not first class objects in GLSL, so there is never a value of function type. No code actually used this except for one function which asserted it shouldn't occur. One comment mentioned it, but was incorrect. So we may as well remove it entirely.
* r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well.Henri Verbeet2010-11-151-0/+2
|
* r600: Evergreen has two extra frac_bits for the sampler LOD state.Henri Verbeet2010-11-151-3/+3
| | | | Note: this is a candidate for the 7.9 branch.
* r600g: Evergreen has two extra frac_bits for the sampler LOD state.Henri Verbeet2010-11-151-3/+3
| | | | The (piglit) mipmap_limits test shows the issue very clearly.
* r600g: Cleanup the fenced_bo list in r600_context_fini().Henri Verbeet2010-11-151-0/+13
|
* gallium/noop: no operation gallium driverJerome Glisse2010-11-158-0/+989
| | | | | | | | | | | | | | | | | This driver is a fake swdri driver that perform no operations beside allocation gallium structure and buffer for upper layer usage. It's purpose is to help profiling core mesa/gallium without having pipe driver overhead hidding hot spot of core code. scons file are likely inadequate i am unfamiliar with this build system. To use it simply rename is to swrast_dri.so and properly set LIBGL_DRIVERS_PATH env variable. Signed-off-by: Jerome Glisse <[email protected]>
* dri/nouveau: Kill a bunch of ternary operators.Francisco Jerez2010-11-157-24/+33
|
* dri/nouveau: Fix typo.Francisco Jerez2010-11-152-2/+1
|
* dri/nouveau: Remove nouveau_class.h, finishing switch to rules-ng-ng headersViktor Novotný2010-11-151-4961/+0
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau nv20: Use rules-ng-ng headersViktor Novotný2010-11-158-250/+248
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: nv10: Use rules-ng-ng headersViktor Novotný2010-11-159-231/+228
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: nv04: Use rules-ng-ng headersViktor Novotný2010-11-158-17/+23
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Import headers from rules-ng-ngViktor Novotný2010-11-156-0/+6200
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* evergreen: set gl_texture_image::TexFormat field in evergreenSetTexBuffer()Brian Paul2010-11-151-0/+4
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
* r300: set gl_texture_image::TexFormat field in r300SetTexBuffer2()Brian Paul2010-11-151-2/+8
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch
* r200: set gl_texture_image::TexFormat field in r200SetTexBuffer2()Brian Paul2010-11-151-2/+8
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
* r600: set gl_texture_image::TexFormat field in r600SetTexBuffer2()Brian Paul2010-11-151-0/+4
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
* radeon: set gl_texture_image::TexFormat field in radeonSetTexBuffer2()Brian Paul2010-11-151-2/+8
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch
* radeon: fix potential segfault in renderbuffer updateDaniel Lichtenberger2010-11-151-2/+1
| | | | | | | Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31617 Signed-off-by: Alex Deucher <[email protected]>
* r300g: return shader caps from Draw for SWTCL vertex shadersMarek Olšák2010-11-141-0/+6
|
* r300g: clean up redundancy in draw functionsMarek Olšák2010-11-141-57/+45
|
* i965: Fix gl_FragCoord inversion when drawing to an FBO.Eric Anholt2010-11-143-3/+6
| | | | | | This showed up as cairo-gl gradients being inverted on everyone but Intel, where I'd apparently tweaked the transformation to work around the bug. Fixes piglit fbo-fragcoord.
* i965: Silence uninitialized variable warning.Vinson Lee2010-11-131-0/+1
| | | | | | Silences this GCC warning. brw_fs.cpp: In member function 'void fs_visitor::split_virtual_grfs()': brw_fs.cpp:2516: warning: unused variable 'reg'
* r300g: fix texture border color for all texture formatsMarek Olšák2010-11-131-33/+31
| | | | | | | This fixes 8 texwrap format tests. The code should handle arbitrary formats now and is cleaner. NOTE: This is a candidate for the 7.9 branch.
* mesa: Clean up header file inclusion in points.h.Vinson Lee2010-11-131-1/+3
|
* mesa: consolidate assertions in teximage codeBrian Paul2010-11-121-10/+1
|
* svga: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+13
| | | | | As per the ps_3_0 and vs_3_0 documentation. The aL register in D3D9 is quite tricky to use, though.
* r600g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* r300g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+11
| | | | | To match shader model 2.0 (it's impossible to fully implement ARL with shader model 3.0 relative addressing).
* nvfx: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+11
| | | | To match shader model 2.0.
* nv50: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* i965g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* i915g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* tgsi: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* gallium: add CAPs for indirect addressing and lower it in st/mesa when neededMarek Olšák2010-11-122-0/+14
| | | | | | | | | | Required because ATI and NVIDIA DX9 GPUs do not support indirect addressing of temps, inputs, outputs, and consts (FS-only) or the hw support is so limited that we cannot use it. This should make r300g and possibly nvfx more feature complete. Signed-off-by: Marek Olšák <[email protected]>
* tdfx: s/Format/_BaseFormat/Brian Paul2010-11-111-2/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31560
* glsl: Free the loop state context when we free the loop state.Eric Anholt2010-11-111-0/+1
| | | | | | | | Since this was talloced off of NULL instead of the compile state, it was a real leak over the course of the program. Noticed with valgrind --leak-check=full --show-reachable=yes. We should really change these passes to generally get the compile context as an argument so simple mistakes like this stop mattering.
* mesa: fix glDeleteBuffers() regressionBrian Paul2010-11-111-2/+2
| | | | | | | | This fixes a regression (failed assertion) from commit c552f273f559968dfd770367e25329baccbcd0c4 which was hit if glDeleteBuffers() was called on a buffer that was never bound. NOTE: this is a candidate for the 7.9 branch.
* mesa: make glIsBuffer() return false for never bound buffersBrian Paul2010-11-111-14/+18
| | | | | | | Use a dummy buffer object as we do for frame/renderbuffer objects. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31514 Note: this is a candidate for the 7.9 branch.
* glsl: fix crash in loop analysis when some controls can't be determinedAras Pranckevicius2010-11-111-0/+3
| | | | Fixes loop-07.frag.