- Dec 10, 2010
-
-
Luca Barbieri authored
Currently we only unroll loops with conditional breaks at the end, which is the form that lower_jumps generates. However, if breaks are not lowered, they tend to appear at the beginning, so add support for a conditional break anywhere. Signed-off-by: Luca Barbieri <luca@luca-barbieri.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
-
Kenneth Graunke authored
Found this bug by code inspection. Based off the comments just before this code, the intent is to find whether the break exists in the "then" branch or the "else" branch. However, the code actually looked at the last instruction in the "then" branch twice.
-
Kenneth Graunke authored
-
- Dec 09, 2010
-
-
Emma Anholt authored
If you used a constant array index to access the matrix, we'd flag a bunch of wrong inputs/outputs as being used because the index was multiplied by matrix columns and the actual used index was left out. Fixes glsl-mat-attribute.
-
Emma Anholt authored
Fixes depth-tex-modes-rg.
-
Emma Anholt authored
Fixes texture-rg.
-
Vinson Lee authored
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
-
Vinson Lee authored
-
Jerome Glisse authored
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
-
Jerome Glisse authored
Allow important performance increase by doing hw specific implementation of the upload manager helper. Drop the range flushing that is not hit with this code (and wasn't with previous neither). Performance improvement are mostly visible on slow CPU. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
-
Jerome Glisse authored
r600g is up to a point where all small CPU cycle matter and pb* turn high on profile. It's mostly because pb try to be generic and thus trigger unecessary check for r600g driver. To avoid having too much abstraction & too much depth in the call embedded everythings into r600_bo. Make code simpler & faster. The performance win highly depend on the CPU & application considered being more important on slower CPU and marginal/unoticeable on faster one. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
-
this fix applies to the lower_sub_return 'branch' of the lower_jumps pass Fixes piglit tests glsl-functions-5 and glsl-functions-6.
-
Emma Anholt authored
-
Emma Anholt authored
This is said to be required in the spec, even when you aren't doing writes.
-
Emma Anholt authored
This doesn't actually fix border color on Ironlake, but it appears to be a requirement, and gen6 needs it too.
-
Emma Anholt authored
-
Emma Anholt authored
Last minute change for gen6 with 0 used params dropped the multiply.
-
Jose Fonseca authored
-
Signed-off-by: Brian Paul <brianp@vmware.com>
-
Chia-I Wu authored
GL_FIXED is also a legal type for glTexCoordPointer.
-
Emma Anholt authored
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.
-
Alex Deucher authored
I forgot to bump this when I bumped the tex levels.
-
Brian Paul authored
-
Brian Paul authored
Simplify some code, remove unneeded checks, etc.
-
Lina Versace authored
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 [...]."
-
- Dec 08, 2010
-
-
Emma Anholt authored
-
Emma Anholt authored
Fixes: fp-kil fp-generic/kil-swizzle.
-
Emma Anholt authored
Fixes: fbo-drawbuffers2-blend fbo-drawbuffers2-colormask
-
Emma Anholt authored
This will let us get EXT_draw_buffers2 blending and colormasking working.
-
Emma Anholt authored
Fixes glean/maskedClear
-
Chia-I Wu authored
GL_OES_texture_3D has a GLSL counterpart. Since it is not implemented, GL_OES_texture_3D should not be advertised.
-
Chia-I Wu authored
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*.
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-