Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-09 | mesa: Clean up header file inclusion in arbprogparse.h. | Vinson Lee | |
2010-12-10 | i965: support for two-sided lighting on Sandybridge | Xiang, Haihao | |
VS places color attributes together so that SF unit can fetch the right attribute according to object orientation. This fixes light issue in mesa demo geartrain, projtex. | |||
2010-12-10 | meta: allow nested meta operations | Xiang, Haihao | |
_mesa_meta_CopyPixels results in nested meta operations on Sandybridge. Previoulsy the second meta operation overrides all states saved by the first meta function. | |||
2010-12-09 | i965: Add support for gen6 reladdr VS constant loading. | Eric Anholt | |
2010-12-09 | i965: Add support for gen6 constant-index constant loading. | Eric Anholt | |
2010-12-09 | intel: Set the swizzling for depth textures using the GL_RED depth mode. | Eric Anholt | |
Fixes depth-tex-modes-rg. | |||
2010-12-09 | intel: Use plain R8 and RG8 for COMPRESSED_RED and COMPRESSED_RG. | Eric Anholt | |
Fixes texture-rg. | |||
2010-12-09 | i965: Silence uninitialized variable warning. | Vinson Lee | |
Fixes this GCC warning. brw_fs.cpp: In function 'brw_reg brw_reg_from_fs_reg(fs_reg*)': brw_fs.cpp:3255: warning: 'brw_reg' may be used uninitialized in this function | |||
2010-12-09 | i965: remove unused variable since brw_wm_glsl.c removal. | Eric Anholt | |
2010-12-09 | i965: Set render_cache_read_write surface state bit on gen6 constant surfs. | Eric Anholt | |
This is said to be required in the spec, even when you aren't doing writes. | |||
2010-12-09 | i965: Set up the correct texture border color state struct for Ironlake. | Eric Anholt | |
This doesn't actually fix border color on Ironlake, but it appears to be a requirement, and gen6 needs it too. | |||
2010-12-09 | i965: Clean up VS constant buffer location setup. | Eric Anholt | |
2010-12-09 | i965: Fix VS constants regression pre-gen6. | Eric Anholt | |
Last minute change for gen6 with 0 used params dropped the multiply. | |||
2010-12-09 | mesa: allow GLfixed arrays for OpenGL ES 2.0 | Shuang He | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-12-09 | mesa: Fix glTexCoordPointer with type GL_FIXED. | Chia-I Wu | |
GL_FIXED is also a legal type for glTexCoordPointer. | |||
2010-12-09 | mesa: Fix GL_FIXED arrays. | Chia-I Wu | |
It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027. | |||
2010-12-08 | i965: Drop push-mode reladdr constant loading and always use constant_map. | Eric Anholt | |
This eases the gen6 implementation, which can only handle up to 32 registers of constants, while likely not penalizing real apps using reladdr since all of those I've seen also end up hitting the pull constant buffer. On gen6, the constant map means that simple NV VPs fit under the 32-reg limit and now succeed. Fixes around 10 testcases. | |||
2010-12-09 | radeon: bump mip tree levels to 15 | Alex Deucher | |
I forgot to bump this when I bumped the tex levels. | |||
2010-12-08 | mesa: simplify target checking for TexImage functions | Brian Paul | |
2010-12-08 | mesa: revamp error checking for compressed texture images | Brian Paul | |
Simplify some code, remove unneeded checks, etc. | |||
2010-12-08 | i965: Drop KIL_NV from the ff/ARB_fp path since it was only used for GLSL. | Eric Anholt | |
2010-12-08 | i965: Use the new pixel mask location for gen6 ARB_fp KIL instructions. | Eric Anholt | |
Fixes: fp-kil fp-generic/kil-swizzle. | |||
2010-12-08 | i965: Set the render target index in gen6 fixed-function/ARB_fp path. | Eric Anholt | |
Fixes: fbo-drawbuffers2-blend fbo-drawbuffers2-colormask | |||
2010-12-08 | i965: Set up the per-render-target blend state on gen6. | Eric Anholt | |
This will let us get EXT_draw_buffers2 blending and colormasking working. | |||
2010-12-08 | i965: Set up the color masking for the first drawbuffer on gen6. | Eric Anholt | |
Fixes glean/maskedClear | |||
2010-12-08 | mesa: Do not advertise GL_OES_texture_3D. | Chia-I Wu | |
GL_OES_texture_3D has a GLSL counterpart. Since it is not implemented, GL_OES_texture_3D should not be advertised. | |||
2010-12-08 | vbo: Fix GLES2 glVertexAttrib. | Chia-I Wu | |
Attribute 0 has no special meaning in GLES2. Add VertexAttrib4f_nopos for that purpose and make _es_VertexAttrib* call the new function. Rename _vbo_* to _es_* to avoid confusion. These functions are only used by GLES, and now some of them (_es_VertexAttrib*) even behave differently than vbo_VertexAttrib*. | |||
2010-12-08 | vbo: Drop second ATTR macro. | Chia-I Wu | |
There is no need to have a special version of ATTR for !FEATURE_beginend, since 81ccb3e2ce708619f4c23537a237d61bdffdd35f. | |||
2010-12-07 | mesa: make _mesa_test_proxy_teximage() easier to read | Brian Paul | |
2010-12-07 | mesa: consolidate glCompressedTexImage1/2/3D() functions | Brian Paul | |
2010-12-07 | mesa: consolidate glCopyTexSubImage1/2/3D() functions | Brian Paul | |
2010-12-07 | mesa: consolidate glCopyTexImage1/2D() code | Brian Paul | |
2010-12-07 | mesa: consolidate the glTexSubImage1/2/3D() functions | Brian Paul | |
2010-12-07 | mesa: simplify proxy texture code in texture_error_check() | Brian Paul | |
2010-12-08 | r300/compiler: remove at least unused immediates if externals cannot be removed | Marek Olšák | |
2010-12-08 | r300/compiler: make lowering passes possibly use up to two less temps | Marek Olšák | |
CMP may now use two less temps, other non-native instructions may end up using one less temp, except for SIN/COS/SCS, which I am leaving unchanged for now. This may reduce register pressure inside loops, because the register allocator doesn't do a very good job there. | |||
2010-12-08 | r300/compiler: handle DPH and XPD in rc_compute_sources_for_writemask | Marek Olšák | |
This bug can only be triggered if you put deadcode before native rewrite. | |||
2010-12-08 | r300/compiler: do not print pair/tex/presub program stats for vertex shaders | Marek Olšák | |
2010-12-08 | r300/compiler: cleanup rc_run_compiler | Marek Olšák | |
2010-12-08 | r300/compiler: add a function to query program stats (alu, tex, temps..) | Marek Olšák | |
2010-12-08 | r300/compiler: don't terminate regalloc if we surpass max temps limit | Marek Olšák | |
The same check is already in a later pass (translate_vertex_program). | |||
2010-12-07 | i965: Don't try to store gen6 (float) blend constant color in bytes. | Eric Anholt | |
Fixes glean/blendFunc | |||
2010-12-07 | i965: Fix flipped value of the not-embedded-in-if on gen6. | Eric Anholt | |
Fixes: glean/glsl1-! (not) operator (1, fail) glean/glsl1-! (not) operator (1, pass) | |||
2010-12-07 | i965: Work around gen6 ignoring source modifiers on math instructions. | Eric Anholt | |
With the change of extended math from having the arguments moved into mrfs and handed off through message passing to being directly hooked up to the EU, it looks like the piece for doing source modifiers (negate and abs) was left out. Fixes: fog-modes glean/fp1-ARB_fog_exp test glean/fp1-ARB_fog_exp2 test glean/fp1-Computed fog exp test glean/fp1-Computed fog exp2 test ext_fog_coord-modes | |||
2010-12-07 | i965: Add disabled debug code for dumping out the WM constant payload. | Eric Anholt | |
This can significantly ease thinking about the asm. | |||
2010-12-07 | i965: Correctly emit constants for aggregate types (array, matrix, struct) | Ian Romanick | |
Previously the code only handled scalars and vectors. This new code is modeled somewhat after similar code in ir_to_mesa. Reviewed-by: Eric Anholt <eric@anholt.net> | |||
2010-12-07 | i965: Always hand the absolute value to RSQ. | Eric Anholt | |
gen6 builtin RSQ apparently clamps negative values to 0 instead of returning the RSQ of the absolute value like ARB_fragment_program desires and pre-gen6 apparently does. Fixes: glean/fp1-RSQ test 2 (reciprocal square root of negative value) glean/vp1-RSQ test 2 (reciprocal square root of negative value) | |||
2010-12-07 | i965: Handle saturates on gen6 math instructions. | Eric Anholt | |
We get saturate as an argument to brw_math() instead of as compile state, since that's how the pre-gen6 send instructions work. Fixes fp-ex2-sat. | |||
2010-12-07 | i965: Fix comment about gen6_wm_constants. | Eric Anholt | |
This is the push constant buffer, not the pull constants. | |||
2010-12-07 | i965: upload WM state for _NEW_POLYGON on sandybridge | Zhenyu Wang | |
Be sure polygon stipple mode is updated. This fixes 'gamma' demo. |