Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-17 | glsl2: Add flags to enable variable index loweringglsl2-lower-variable-indexing | Ian Romanick | 5 | -8/+82 | |
2010-09-17 | glsl2: Refactor testing for whether a deref is of a matrix or array | Ian Romanick | 1 | -11/+12 | |
2010-09-17 | glsl2: Declare dereference_array_condition with the correct type | Ian Romanick | 1 | -1/+1 | |
Previous the type had one too many elements and did not match the type of the things being compared. | |||||
2010-09-17 | glsl2: Fix linear portion of index search for writes | Ian Romanick | 1 | -5/+15 | |
If the array access is a read, read the first element of this subregion unconditionally. The remaining tests will possibly overwrite this value with one of the other array elements. This optimization cannot be done for writes because it will cause the first element of the subregion to be written possibly *in addition* to one of the other elements. | |||||
2010-09-17 | glsl2: Reformat to match coding conventions in the rest of the compiler | Ian Romanick | 1 | -62/+94 | |
2010-09-17 | glsl2: Use correct talloc context in lower_variable_index_to_cond_assign pass | Ian Romanick | 1 | -29/+35 | |
2010-09-17 | glsl2: Don't return an exec_list | Ian Romanick | 1 | -31/+18 | |
Returning an exec_list does a shallow copy. In the place returned to, the invariant (list->head->prev == (exec_node *)list) will fail. This is particularly bad if the list being returned is empty. | |||||
2010-09-17 | glsl: add pass to lower variable array indexing to conditional assignments | Luca Barbieri | 5 | -0/+282 | |
Currenly GLSL happily generates indirect addressing of any kind of arrays. Unfortunately DirectX 9 GPUs are not guaranteed to support any of them in general. This pass fixes that by lowering such constructs to a binary search on the values, followed at the end by vectorized generation of equality masks, and 4 conditional assignments for each mask generation. Note that this requires the ir_binop_equal change so that we can emit SEQ to generate the boolean masks. Unfortunately, ir_structure_splitting is too dumb to turn the resulting constant array references to individual variables, so this will need to be added too before this pass can actually be effective for temps. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||||
2010-09-18 | r600g: oops got the use_mem_constant the wrong way around. | Dave Airlie | 1 | -1/+1 | |
this fixes evergreen gears again. | |||||
2010-09-17 | r600g: use calloc for ctx bo allocations | Dave Airlie | 1 | -1/+1 | |
since the reference code relies on these being NULL. | |||||
2010-09-17 | r600g: fixup map flushing. | Dave Airlie | 1 | -5/+9 | |
long lived maps were getting removed when they shouldn't this tries to avoid that problem by only adding to the flush list on unmap. | |||||
2010-09-17 | r600g: add upload manager support. | Dave Airlie | 6 | -47/+223 | |
this add support for the upload manager for uploading user vbo/index buffers. this provides a considerable speedup in q3 type games. | |||||
2010-09-17 | r600g: add winsys bo caching. | Dave Airlie | 4 | -31/+24 | |
this adds the bo caching layer and uses it for vertex/index/constant bos. ctx needs to take references on hw bos so the flushing works okay, also needs to flush the maps. | |||||
2010-09-17 | r600g: add support for kernel bo | Dave Airlie | 10 | -50/+352 | |
this moves to using a pb bufmgr instead of kernel bos directly. | |||||
2010-09-17 | r600g: use malloc bufmgr for constant buffers | Dave Airlie | 3 | -1/+9 | |
2010-09-17 | r600g: move constant buffer creation behind winsys abstraction. | Dave Airlie | 12 | -55/+65 | |
this paves the way for moving to pb bufmgrs now. | |||||
2010-09-17 | libgl-xlib: Remove unused st_api_create_OpenGL. | Chia-I Wu | 1 | -8/+0 | |
st/egl no longer relies on libGL for OpenGL support. | |||||
2010-09-17 | targets/egl: Use C++ compiler to link GL/ES state trackers. | Chia-I Wu | 1 | -3/+10 | |
Otherwise, applications compiled with C compiler might have trouble using them. | |||||
2010-09-17 | dri/nv10: Fix the CLAMP texture wrap mode. | Francisco Jerez | 1 | -2/+1 | |
2010-09-16 | tgsi/sse: fix aos_to_soa() loop to handle num_inputs==0 | Brian Paul | 1 | -6/+9 | |
Basically, change the loop from: do {...} while (--num_inputs != 0) into: while (num_inputs != 0) { ... --num_inputs; } Fixes fd.o bug 29987. | |||||
2010-09-17 | r600g: attempt to abstract kernel bos from pipe driver. | Dave Airlie | 19 | -199/+272 | |
introduce an abstraction layer between kernel bos and the winsys BOs. this is to allow plugging in pb manager with minimal disruption to pipe driver. | |||||
2010-09-17 | r600g: hide radeon_ctx inside winsys. | Dave Airlie | 8 | -56/+42 | |
no need for this info to be exported to pipe driver. | |||||
2010-09-16 | gallivm: Remove unnecessary header. | Vinson Lee | 1 | -1/+0 | |
2010-09-16 | gallivm: fix wrong return value in bitwise functions | Brian Paul | 1 | -3/+3 | |
2010-09-16 | gallivm: Clamp indirect register indices to file_max. | José Fonseca | 1 | -60/+71 | |
Prevents crashes with bogus data, or bad shader translation. | |||||
2010-09-16 | gallivm: Start collecting bitwise arithmetic helpers in a new module. | José Fonseca | 8 | -32/+263 | |
2010-09-16 | gallivm: Fix address register swizzle. | José Fonseca | 1 | -2/+1 | |
We're actually doing a double swizzling: indirect_reg->Swizzle[indirect_reg->SwizzleX] instead of simply indirect_reg->SwizzleX | |||||
2010-09-16 | meta: Don't bind the created texture object in init_temp_texture(). | Francisco Jerez | 1 | -1/+0 | |
This function is executed outside _mesa_meta_begin/end(), that means that e.g. _mesa_meta_Bitmap() clobbers the texturing state because it changes the currently active texture object. There's no need to bind the new texture when it's created, it's done again later anyway (from setup_drawpix/copypix_texture()). Signed-off-by: Brian Paul <brianp@vmware.com> | |||||
2010-09-16 | mesa: include mfeatures.h in formats.c | Brian Paul | 1 | -0/+1 | |
Otherwise, FEATURE_EXT_texture_sRGB was undefined. This is (part of?) the fix for fd.o bug 30177. | |||||
2010-09-16 | r300g/swtcl: fix CS overrun | Marek Olšák | 2 | -8/+28 | |
https://bugs.freedesktop.org/show_bug.cgi?id=29901 | |||||
2010-09-16 | dri/nouveau: Cleanup references to the old FBOs on glMakeCurrent(). | Francisco Jerez | 1 | -16/+8 | |
2010-09-16 | dri/nouveau: Don't reemit the BO state in nouveau_state_emit(). | Francisco Jerez | 2 | -5/+3 | |
2010-09-16 | dri/nouveau: Don't request a fake front unnecessarily. | Francisco Jerez | 5 | -17/+32 | |
2010-09-16 | dri/nouveau: Fix glRenderbufferStorage with DEPTH_COMPONENT as internal format. | Francisco Jerez | 1 | -0/+1 | |
2010-09-16 | dri/nouveau: Add some more extensions. | Francisco Jerez | 3 | -0/+4 | |
2010-09-16 | dri/nouveau: Update nouveau_class.h. | Francisco Jerez | 1 | -20/+20 | |
2010-09-16 | dri/nv04: Fix provoking vertex. | Francisco Jerez | 1 | -2/+2 | |
2010-09-16 | dri/nv04: Fix maximum texture size. | Francisco Jerez | 1 | -0/+1 | |
2010-09-16 | dri/nv04: Fix up color mask. | Francisco Jerez | 1 | -1/+5 | |
2010-09-16 | dri/nv04: Align SIFM transfer dimensions. | Francisco Jerez | 1 | -1/+1 | |
2010-09-16 | dri/nv04: Mipmapping fixes. | Francisco Jerez | 2 | -15/+21 | |
2010-09-16 | dri/nv04: Fix PGRAPH_ERRORs when running OA. | Francisco Jerez | 1 | -1/+5 | |
2010-09-16 | dri/nv04: Enable eng3dm for A8/L8 textures. | Andrew Randrianasulu | 1 | -4/+16 | |
Signed-off-by: Francisco Jerez <currojerez@riseup.net> | |||||
2010-09-16 | dri/nv04: Don't expose ARB_texture_env_combine/dot3. | Andrew Randrianasulu | 3 | -2/+4 | |
Signed-off-by: Francisco Jerez <currojerez@riseup.net> | |||||
2010-09-16 | llvmpipe: add DEBUG_FS to dump variant information | Keith Whitwell | 3 | -1/+3 | |
2010-09-16 | llvmpipe: add LP_PERF flag to disable various aspects of rasterization | Keith Whitwell | 8 | -6/+90 | |
Allows disabling various operations (mainly texture-related, but will grow) to try & identify bottlenecks. Unlike LP_DEBUG, this is active even in release builds - which is necessary for performance investigation. | |||||
2010-09-16 | gallivm: make lp_build_sample_nop public | Keith Whitwell | 2 | -6/+8 | |
2010-09-16 | gallivm: move i32_vec_type inside the #ifdef | Brian Paul | 1 | -1/+2 | |
2010-09-16 | gallivm: fix incorrect vector shuffle datatype | Brian Paul | 1 | -1/+5 | |
The permutation vector must always be a vector of int32 values. | |||||
2010-09-16 | nv50: get shader fixups/relocations into working state | Christoph Bumiller | 4 | -54/+79 | |