summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-17r600g: Swizzle vertex data only once.Henri Verbeet
Vertex data swizzles are already done in the vertex shader. Doing them twice breaks BGRA vertex arrays for example.
2010-11-16r300g: remove the hack with OPCODE_RETMarek Olšák
RET was interpreted as END, which was wrong. Instead, if a shader contains RET in the main function, it will fail to compile with an error message from now on. The hack is from early days.
2010-11-16glsl: Simplify generation of swizzle for vector constructorsIan Romanick
2010-11-16glsl: Refactor is_vec_{zero,one} to be methods of ir_constantIan Romanick
These predicates will be used in other places soon.
2010-11-16libgl-gdi: Allow to pick softpipe/llvmpipe on runtime.José Fonseca
2010-11-15mesa: Add definitions for inverse hyperbolic function on MSVC.Vinson Lee
2010-11-15glsl: Add ir_constant_expression.cpp to SConscript.Vinson Lee
This was accidentally removed in commit 32aaf89823de11e98cb59d5ec78c66cd3e74bcd4. Fixes SCons builds.
2010-11-15glsl: remove opt_constant_expression.cpp from SConscriptBrian Paul
And alphabetize the opt_* files.
2010-11-15mesa: add more work-arounds for acoshf(), asinhf(), atahf()Brian Paul
2010-11-15glsl: fix assorted MSVC warningsBrian Paul
2010-11-15st/mesa: fix glDrawPixels(depth/stencil) bugsBrian Paul
When drawing GL_DEPTH_COMPONENT the usual fragment pipeline steps apply so don't override the depth state. When drawing GL_STENCIL_INDEX (or GL_DEPTH_STENCIL) the fragment pipeline does not apply (only the stencil and Z writemasks apply) so disable writes to the color buffers. Fixes some regressions from commit ef8bb7ada98f1ddc8e2554a7336af5d669cb1290
2010-11-15glsl: Rename various ir_* files to lower_* and opt_*.Kenneth Graunke
This helps distinguish between lowering passes, optimization passes, and other compiler code.
2010-11-15glsl: Remove unused and out of date Makefile.am.Kenneth Graunke
This was from when glsl2 lived in a separate repository and used automake.
2010-11-15glsl: Add constant expression handling for asinh, acosh, and atanh.Kenneth Graunke
2010-11-15glsl: Refresh autogenerated file builtin_function.cpp.Kenneth Graunke
2010-11-15glsl: Implement the asinh, acosh, and atanh built-in functions.Kenneth Graunke
2010-11-15generate_builtins.py: Fix inconsistent use of tabs and spaces warning.Kenneth Graunke
2010-11-15glsl: Refresh autogenerated lexer and parser files.Kenneth Graunke
For the last three commits.
2010-11-15glsl: Add support for the 'u' and 'U' unsigned integer suffixes.Kenneth Graunke
2010-11-15glsl: Add new keywords and reserved words for GLSL 1.30.Kenneth Graunke
2010-11-15glsl: Rework reserved word/keyword handling in the lexer.Kenneth Graunke
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.
2010-11-15glsl: Convert glsl_type::base_type from #define'd constants to an enum.Kenneth Graunke
This is nice because printing type->base_type in GDB will now give you a readable name instead of a number.
2010-11-15glsl: Remove GLSL_TYPE_FUNCTION define.Kenneth Graunke
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.
2010-11-15r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well.Henri Verbeet
2010-11-15r600: Evergreen has two extra frac_bits for the sampler LOD state.Henri Verbeet
Note: this is a candidate for the 7.9 branch.
2010-11-15r600g: Evergreen has two extra frac_bits for the sampler LOD state.Henri Verbeet
The (piglit) mipmap_limits test shows the issue very clearly.
2010-11-15r600g: Cleanup the fenced_bo list in r600_context_fini().Henri Verbeet
2010-11-15gallium/noop: no operation gallium driverJerome Glisse
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 <jglisse@redhat.com>
2010-11-15dri/nouveau: Kill a bunch of ternary operators.Francisco Jerez
2010-11-15dri/nouveau: Fix typo.Francisco Jerez
2010-11-15dri/nouveau: Remove nouveau_class.h, finishing switch to rules-ng-ng headersViktor Novotný
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15dri/nouveau nv20: Use rules-ng-ng headersViktor Novotný
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15dri/nouveau: nv10: Use rules-ng-ng headersViktor Novotný
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15dri/nouveau: nv04: Use rules-ng-ng headersViktor Novotný
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15dri/nouveau: Import headers from rules-ng-ngViktor Novotný
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15evergreen: set gl_texture_image::TexFormat field in evergreenSetTexBuffer()Brian Paul
See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
2010-11-15r300: set gl_texture_image::TexFormat field in r300SetTexBuffer2()Brian Paul
See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch
2010-11-15r200: set gl_texture_image::TexFormat field in r200SetTexBuffer2()Brian Paul
See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
2010-11-15r600: set gl_texture_image::TexFormat field in r600SetTexBuffer2()Brian Paul
See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
2010-11-15radeon: set gl_texture_image::TexFormat field in radeonSetTexBuffer2()Brian Paul
See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch
2010-11-15Makefile: don't include the same files twice in the tarballJulien Cristau
src/mesa/drivers/dri/*/*/*.[chS] is a superset of src/mesa/drivers/dri/*/server/*.[ch] and src/mesa/drivers/dri/common/xmlpool/*.[ch]. include/GL/internal/glcore.h is already in MAIN_FILES, no need for it in DRI_FILES too. src/glx/Makefile was listed twice. Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-15radeon: fix potential segfault in renderbuffer updateDaniel Lichtenberger
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31617 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-11-14r300g: return shader caps from Draw for SWTCL vertex shadersMarek Olšák
2010-11-14r300g: clean up redundancy in draw functionsMarek Olšák
2010-11-14i965: Fix gl_FragCoord inversion when drawing to an FBO.Eric Anholt
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.
2010-11-13i965: Silence uninitialized variable warning.Vinson Lee
Silences this GCC warning. brw_fs.cpp: In member function 'void fs_visitor::split_virtual_grfs()': brw_fs.cpp:2516: warning: unused variable 'reg'
2010-11-13r300g: fix texture border color for all texture formatsMarek Olšák
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.
2010-11-13mesa: Clean up header file inclusion in points.h.Vinson Lee
2010-11-12mesa: consolidate assertions in teximage codeBrian Paul
2010-11-12svga: fill out CAPs for indirect addressingMarek Olšák
As per the ps_3_0 and vs_3_0 documentation. The aL register in D3D9 is quite tricky to use, though.