Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-31 | nv50: neg and abs modifiers for flops | Christoph Bumiller | |
Also fixes RSQ of negative sources. | |||
2009-12-31 | nv50: don't negate immediates in set_immd | Christoph Bumiller | |
This negation would only be triggered in situations where it's incorrect. The caller of set_immd should negate the immediate value in the instruction itself if desired, and will also know if it's a float or an int. ADD TEMP[0], CONST[0], -IMMD[0] would load the immediate into extra TEMP, negated, and set the negate flag in add as well - double negation. | |||
2009-12-31 | mesa: Silence unused variable warning. | Vinson Lee | |
2009-12-30 | Add lame support for instanceID to draw module. | Michal Krol | |
It's all screaming for integer support -- fake it with float for now. | |||
2009-12-30 | tgsi: Support system values in ureg. | Michal Krol | |
2009-12-30 | progs/glsl: Provide a better fix for fgets warning. | Vinson Lee | |
2009-12-30 | draw: Implement draw_arrays() in terms of draw_arrays_instanced(). | Michal Krol | |
2009-12-30 | sp: Generalise drawing code to remove dupes. | Michal Krol | |
Also, avoid nested draw calls from simpler versions. | |||
2009-12-30 | docs: added GL 3.x feature checklist to track what's done in Mesa | Brian Paul | |
2009-12-30 | mesa: implement _mesa_GetStringi() for GL3 | Brian Paul | |
Note: not plugged into the dispatch table yet. | |||
2009-12-30 | mesa: _mesa_get_enabled_extension() function | Brian Paul | |
2009-12-30 | sp: Implement draw_elements_instanced(). | Michal Krol | |
2009-12-30 | Implement instanced indexed draw. | Michal Krol | |
2009-12-30 | mesa: implement GL3 GL_NUM_EXTENSIONS query | Brian Paul | |
2009-12-30 | mesa: simplify some extension testing code | Brian Paul | |
2009-12-30 | mesa: display list support for glClearBuffer functions | Brian Paul | |
Note: some code disabled until dispatch table supports GL3 entrypoints. | |||
2009-12-30 | mesa: implement GL3 glClearBuffer() functions | Brian Paul | |
These functions clear color/depth/stencil buffers with a value that's passed to the function, rather than the context clear values. For now these functions are implemented in terms of the existing ctx->Driver.Clear() hook. In the future when we have non-normalized integer and unsigned integer color buffer formats we'll need new driver hook(s) to pass int and uint clear values to the driver. Note: these functions are not hooked into the dispatch table at this time. | |||
2009-12-30 | mklib: use a wrapper for ar | Brian Paul | |
2009-12-30 | translate: Fix a call to indexed SSE run. | Michal Krol | |
2009-12-30 | nouveau: Fix glTexSubImage on swizzled surfaces on <=NV40 | Luca Barbieri | |
Currently in nvXX_transfer_new a temporary as large as the surface is created. If the subrectangle is not the whole texture we would need to read back the whole texture, but we aren't. Thus, everything but the subrectangle specified is loaded as garbage. This can be seen in progs/demos/ray. This patch fixes the problem by creating a temporary that covers only the desired subrectangle. That makes us hit an alignment assert in nv04_surface_2d.c. Fix it using the point registers instead of manipulating the swizzled surface offset to account for the destination coordinates (which do not seem to have a 1024 limit). Signed-off-by: Francisco Jerez <currojerez@riseup.net> | |||
2009-12-30 | translate: Implement instancing for linear SSE run. | Michal Krol | |
2009-12-30 | rtasm: Add x86_div(). | Michal Krol | |
2009-12-29 | st/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info() | Brian Paul | |
Fixes progs/demos/fbotexture on Nouveau. Patch submitted by Luca Barbieri <luca@luca-barbieri.com>. | |||
2009-12-29 | glu/sgi: Initialize members of struct O_nurbssurface. | Vinson Lee | |
2009-12-29 | mesa: fix-up blend enable/disable code in _mesa_PopAttrib() | Brian Paul | |
2009-12-29 | mesa: finish-up indexed color mask code in _mesa_PopAttrib() | Brian Paul | |
2009-12-29 | mesa: plug in GL_EXT_draw_buffers2 functions | Brian Paul | |
2009-12-29 | mesa: regenerate API files related to GL_EXT_draw_buffers2 | Brian Paul | |
2009-12-29 | glapi: extension info for GL_EXT_draw_buffers2 | Brian Paul | |
2009-12-29 | tdfx: Silence uninitialized variable warning. | Vinson Lee | |
2009-12-29 | progs/glsl: Silence compiler warnings. | Vinson Lee | |
2009-12-29 | glu/sgi: Silence warn_unused_result warnings. | Vinson Lee | |
2009-12-29 | st/xorg: Use C-style comments. | Vinson Lee | |
2009-12-29 | glu/sgi: Initialize member of struct GridVertex. | Vinson Lee | |
2009-12-30 | st/xorg: Fix warning and add a TODO comment | Jakob Bornecrantz | |
2009-12-30 | st/xorg: On close wait on fences and then destroy the screen | Jakob Bornecrantz | |
2009-12-30 | st/xorg: Be proper with pipe pointers on close in exa | Jakob Bornecrantz | |
2009-12-29 | mesa: added infrastructure for GL_EXT_draw_buffers2 | Brian Paul | |
2009-12-30 | st/xorg: Make sure we don't overrun the fence array in block handler | Jakob Bornecrantz | |
2009-12-29 | glu/sgi: Initialize member variables in class Varray. | Vinson Lee | |
2009-12-29 | glu/sgi: Initialize member of class monoChain. | Vinson Lee | |
2009-12-29 | glu/sgi: Initialize members of class sampledLine. | Vinson Lee | |
2009-12-29 | mesa: add dlist support for indexed colormask and indexed enables/disables | Brian Paul | |
Not plugged into dispatch table yet... | |||
2009-12-29 | mesa: implement per-buffer color masking | Brian Paul | |
This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski(). | |||
2009-12-29 | glu/sgi: Initialize members of class directedLine. | Vinson Lee | |
2009-12-29 | Implement draw_arrays_instanced() in softpipe. | Michal Krol | |
Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset. | |||
2009-12-29 | mesa: implement indexed glGet functions | Brian Paul | |
The functions are _mesa_GetBooleanIndexedv(), _mesa_GetIntegerIndexedv(), and _mesa_GetInteger64Indexedv(). These will be called from API functions such as glGetBooleanIndexedvEXT() and glGetBooleani_v(). Only the GL_BLEND query is supported at this time. | |||
2009-12-29 | mesa: per-buffer blend enabled flags | Brian Paul | |
ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to indicate blend on/off status for each color/draw buffer. This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and _mesa_IsEnabledIndexed(). The enable function corresponds to glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3. Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0 unless GL_EXT_draw_buffers2 is enabled. | |||
2009-12-29 | translate: Fix translate_key_compare(). | Michal Krol | |
Sizes of translate keys must also match. | |||
2009-12-29 | mesa: Initialize variable in get_tex_color_index. | Vinson Lee | |