Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-28 | nv50: modified FP attribute loading | Christoph Bumiller | |
VP outputs that should be loadable in the FP are mapped to interpolant indices by HPOS, COL0 etc.; of course HPOS is always written, so the highest byte of 1988 is a bitmask that selects which components of HPOS are used for interpolants, i.e. the FP inputs in COL0 start at index POPCNT(1988[24:28]). | |||
2009-05-28 | nv50: inspect decl semantic and interpolation mode | Christoph Bumiller | |
Record interpolation mode for attributes while parsing declarations, and also remember the indices of FP color inputs and FP depth output, which has to end up in the highest output register. | |||
2009-05-28 | nv50: record last access to temp and attr regs | Christoph Bumiller | |
We now inspect the TGSI instructions in tx_prep to determine where temps and FP attrs are last accessed. This will enable us to reclaim some temporaries early and we also use it to omit pre-loading FP attributes that aren't used. | |||
2009-05-28 | nv50: save some space in immediate buffer | Christoph Bumiller | |
We could do even better (like just allocating 1 value in alloc_immd), but that's fine for now I guess. | |||
2009-05-28 | nv50: fix SIGN_SET case in tgsi_src | Christoph Bumiller | |
2009-05-28 | nv50: set dst.z,w to 0,1 in SCS and XPD | Christoph Bumiller | |
According to tgsi-instruction-set.txt, if they are written, z and w should be set to 0 and 1 respectively in SCS, and w to 1.0 in XPD. | |||
2009-05-28 | nv50: make LRP instruction nicer | Christoph Bumiller | |
2009-05-28 | nv50: fix some memory leaks in shader assembler | Christoph Bumiller | |
2009-05-28 | nouveau: explicitly request mappable buffers for the moment | Ben Skeggs | |
2009-05-27 | draw: Fix assertion failure at fetch_emit_prepare | Mike Kaplinksiy | |
2009-05-27 | softpipe: comments | Brian Paul | |
2009-05-27 | softpipe: include sp_winsys.h to silence warning (unprototyped function) | Brian Paul | |
2009-05-27 | softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON | Brian Paul | |
Use the first vertex, not the last. | |||
2009-05-27 | st/mesa: init Format field of vertex arrays for feedback mode | Brian Paul | |
Fixes segfault in glRasterPos() | |||
2009-05-26 | i915: Fall back on NPOT textured metaops on 830-class. | Eric Anholt | |
2009-05-26 | i915: Restore the Viewport and DepthRange functions on 8xx. | Eric Anholt | |
Fixes failed viewport updates on glxgears (and other apps) resize since e41780fedc2c1f22b43118da30a0103fa68b769f. Bug #20473. | |||
2009-05-26 | intel: Override MaxRenderbufferSize with hardware constraints | Chris Wilson | |
Limit the maximum renderbuffer size to 8192 on i965 and to 2048 on earlier hardware. | |||
2009-05-22 | mesa: fix warning message in vbo_exec_DrawRangeElements() | Brian Paul | |
2009-05-22 | mesa: add missing update_min() call in update_arrays() | Brian Paul | |
2009-05-22 | mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elements | Brian Paul | |
This array was mistakenly dimensioned with VERT_ATTRIB_MAX (32) but it should really be MAX_VERTEX_GENERIC_ATTRIBS (16). The generic vertex attributes are in addition to the conventional arrays (except in NV vertex program mode- they alias/overlay in that case) so the total of all conventional attributes plus generic attributes should total 32 (not 48). | |||
2009-05-22 | mesa: use Elements() for loop limit | Brian Paul | |
2009-05-22 | mesa: use Elements() for loop limit | Brian Paul | |
2009-05-22 | mesa: use Elements() for loop limit | Brian Paul | |
2009-05-22 | mesa: use Elements() for loop limit | Brian Paul | |
2009-05-22 | mesa: use Elements() for loop limit | Brian Paul | |
2009-05-22 | mesa: simplify adjust_buffer_object_ref_counts() | Brian Paul | |
2009-05-22 | mesa: minor code clean-up | Brian Paul | |
2009-05-22 | mesa: use Elements() for loop limit | Brian Paul | |
2009-05-22 | vbo: s/32/VERT_ATTRIB_MAX/ | Brian Paul | |
2009-05-22 | mesa: use Elements() for loop bound | Brian Paul | |
2009-05-22 | mesa: minor code simplification | Brian Paul | |
2009-05-22 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-05-22 | mesa: fix loop over generic attribs in update_arrays() | Brian Paul | |
2009-05-22 | vbo: asst. reformatting, clean-ups | Brian Paul | |
2009-05-22 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-05-22 | vbo: fix crash in vbo_exec_bind_arrays() | Brian Paul | |
When a vertex shader uses generic vertex attribute 0, but not gl_Vertex, we need to set attribute[16] to point to attribute[0]. We were setting the attribute size, but not the pointer. Fixes crash in glsl/multitex.c when using the VertCoord attribute instead of gl_Vertex. | |||
2009-05-22 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-05-22 | mesa: allow GL_BITMAP type in _mesa_image_image_stride() | Brian Paul | |
It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D() which gets converted to RGBA via the glPixelMap tables. This fixes a failure with piglit/fdo10370 with Gallium. | |||
2009-05-22 | mesa: added some assertions | Brian Paul | |
2009-05-22 | mesa: use Elements() macro to limit loops instead of constants | Brian Paul | |
2009-05-22 | mesa: remove MAX_VERTEX_PROGRAM_ATTRIBS | Brian Paul | |
Use MAX_VERTEX_GENERIC_ATTRIBS instead. No need for two #defines for the same quantity. | |||
2009-05-22 | mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBS | Brian Paul | |
Be clearer that this is the number of generic vertex program/shader attributes, not counting the legacy attributes (pos, normal, color, etc). | |||
2009-05-22 | mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS/ in NV funcs | Brian Paul | |
2009-05-22 | mesa: added comment | Brian Paul | |
2009-05-21 | mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLE | Brian Paul | |
2009-05-21 | vbo: fix build breakage...oops | Brian Paul | |
2009-05-21 | vbo: comments, whitespace clean-ups | Brian Paul | |
2009-05-21 | mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS | Brian Paul | |
2009-05-21 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-05-21 | vbo: fix incorrect loop limit in bind_array_obj() | Brian Paul | |
The generic_array[] is 16 elements in size, but the loop was doing 32 iterations. The out of bounds array write was clobbering the following inputs[] array but as luck would have it, that didn't matter. |