| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Silences these GCC warnings.
r600_shader.c: In function 'tgsi_exp':
r600_shader.c:2339: warning: 'r600_src[0].rel' is used uninitialized in this function
r600_shader.c:2339: warning: 'r600_src[0].abs' is used uninitialized in this function
r600_shader.c:2339: warning: 'r600_src[0].neg' is used uninitialized in this function
r600_shader.c:2339: warning: 'r600_src[0].chan' is used uninitialized in this function
r600_shader.c:2339: warning: 'r600_src[0].sel' is used uninitialized in this function
|
|
|
|
| |
Fixes MSVC build.
|
|
|
|
| |
The viewport state was being baked in at compile time (oops...)
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes recompilation, but seems to be broken with llvm 2.8.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Corrections in store_clip to store clip coordinates in AoS form.
Viewport & cliptest flag options based on variant key.
Put back draw_pt_post_vs and now 2 paths based on whether clipping
occurs or not.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cliptesting now done at the end of vs in draw_llvm instead of
draw_pt_post_vs.
Added viewport mapping transformation and further cliptesting to
vertex shader in draw_llvm.c
Alternative path where vertex header setup, clip coordinates store,
cliptesting and viewport mapping are done earlier in the vertex
shader.
Still need to hook this up properly according to the return value of
"draw_llvm_shader" function.
|
| |
| |
| |
| |
| | |
"Everyone else" does it this way, so follow suit. It's fewer
instructions, anyway.
|
| |
| |
| |
| |
| | |
I don't think this should matter, but I'm not sure, and it's
recommended by a kernel checker in fulsim.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously some shader input or outputs that hadn't received location
assignments could slip through. This could happen when a shader
contained user-defined varyings and was used with either
fixed-function or assembly shaders.
See the piglit tests glsl-[fv]s-user-varying-ff and
sso-user-varying-0[12].
NOTE: this is a candidate for the 7.9 branch.
|
| |
| |
| |
| | |
Changes are due to commit "glsl: Fix lexer rule for ^=".
|
| |
| |
| |
| | |
The caret is a special character, and needs to be quoted or escaped.
|
| |
| |
| |
| |
| |
| |
| | |
Implement by adding to ast_expression::hir() the following cases:
- ast_and_assign
- ast_or_assign
- ast_xor_assign
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This function type checks the operands of and returns the result type of
bit-logic operations. It replaces the type checking performed in the
following cases of ast_expression::hir() :
- ast_bit_and
- ast_bit_or
- ast_bit_xor
|
| |
| |
| |
| |
| |
| | |
Implement by adding to ast_expression::hir() these cases:
- ast_ls_assign
- ast_rs_assign
|
| |
| |
| |
| |
| |
| |
| |
| | |
This function type checks the operands of and returns the result type of
bit-shift operations. It replaces the type checking performed in the following
cases of ast_expression::hir() :
- ast_lshift
- ast_rshift
|
| |
| |
| |
| |
| |
| | |
This should reduce the cost of generating shadow maps, for example.
No performance difference measured in nexuiz, though it does trigger
this path.
|
| |
| |
| |
| |
| | |
These were for debugging in bringup. Now that relatively complicated
apps are working, they haven't helped debug anything in quite a while.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes hangs in some Z-writes-in-shaders tests, though other
pieces don't come out correctly.
Bug #30392: hang in fbo-fblit-d24s8. (still fails with bad color drawn
to some targets)
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
http://bugs.freedesktop.org/show_bug.cgi?id=30974
|
| |
| |
| |
| |
| | |
Now that MESA_MINOR=10, we no longer need the extra '0' in the
version string.
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
rc_get_readers_normal() supplies a list of readers for a given
instruction. This function is now being used by the copy propagate
optimization and will eventually be used by most other optimization
passes as well.
|
| | |
|
| |
| |
| |
| |
| | |
It is possible for a single pair instruction arg to select from both an
RGB and an Alpha source.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
All & operations were incorrectly being generated as ast_bit_or.
|
| |
| |
| |
| | |
Fixes glean/bufferObject.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes fbo-blit and probably several other tests.
|
| |
| |
| |
| |
| | |
XOR makes much more sense. Note that the previous code would have
failed for not(not(x)), but that gets optimized out.
|