Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-09 | nvc0: support primitive restart | Christoph Bumiller | |
2010-12-09 | nvc0: rcp f32 also supports neg and abs modifiers | Christoph Bumiller | |
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 | glsl: In ast_to_hir, check sampler array indexing | Chad Versace | |
Raise error if a sampler array is indexed with a non-constant expression. From section 4.1.7 of the GLSL 1.30 spec: "Samplers aggregated into arrays within a shader (using square brackets [ ]) can only be indexed with integral constant expressions [...]." | |||
2010-12-08 | llvmpipe: enable instanced drawing cap | Brian Paul | |
2010-12-08 | softpipe: enable instanced drawing cap | Brian Paul | |
2010-12-08 | gallivm/llvmpipe: implement system values and instanceID | Brian Paul | |
2010-12-08 | st/mesa: translate shader system inputs | Brian Paul | |
2010-12-08 | draw: setup instance ID for SSE generator | Brian Paul | |
2010-12-08 | draw: setup instance ID for VS interpreter | Brian Paul | |
2010-12-08 | mesa: ir_to_mesa support for system values | Brian Paul | |
2010-12-08 | glsl: add support for system values and GL_ARB_draw_instanced | Brian Paul | |
2010-12-08 | mesa: program printing for PROGRAM_SYSTEM_VALUE | Brian Paul | |
2010-12-08 | mesa: add PROGRAM_SYSTEM_VALUE and related tokens | Brian Paul | |
System values are shader inputs which don't necessarily change from vertex to vertex or fragment to fragment. gl_InstanceID and gl_FrontFacing are examples. | |||
2010-12-08 | tgsi/ppc: add case for system values and assert | Brian Paul | |
2010-12-08 | tgsi/sse: add support for system values | Brian Paul | |
2010-12-08 | tgsi: new tgsi_shader_info fields for system values | Brian Paul | |
2010-12-08 | tgsi: add support for system values to TGSI interpreter | Brian Paul | |
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-08 | configure: use llvm-config --cppflags instead of --cflags | Brian Paul | |
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 | linker: Fix regressions caused by previous commit | Ian Romanick | |
That's what I get for not running piglit before pushing. Don't try to patch types of unsized arrays when linking fails. Don't try to patch types of unsized arrays that are shared between shader stages. | |||
2010-12-07 | linker: Ensure that unsized arrays have a size after linking | Ian Romanick | |
Fixes piglit test case glsl-vec-array (bugzilla #31908). NOTE: This bug does not affect 7.9, but I think this patch is a candiate for the 7.9 branch anyway. | |||
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 | glsl: Inherrit type of declared variable from initializer | Ian Romanick | |
Types of declared variables and their initializer must match excatly except for unsized arrays. Previously the type inherritance for unsized arrays happened implicitly in the emitted assignment. However, this assignment is never emitted for uniforms. Now that type is explicitly copied unconditionally. Fixes piglit test array-compare-04.vert (bugzilla #32035) and glsl-array-uniform-length (bugzilla #31985). NOTE: This is a candidate for the 7.9 branch. | |||
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. |