| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
We handle splitting of glDrawArrays() calls into two primitives here
so that drivers don't have to worry about it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It was used by the "neutral" tnl module that was dropped in
81ccb3e2ce708619f4c23537a237d61bdffdd35f.
|
|
|
|
|
| |
no point duplicating code that doesn't touch hw, also make it easier
to spot mistakes
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is necessary for the main compiler to get correct line numbers.
|
|
|
|
|
|
| |
At the moment you need kernel patches to have texture tiling work
with the kernel CS checker, so once they are upstream and the drm version
is bumped we can make this enable flip the other way most likely.
|
|
|
|
|
| |
this sets things up to align stride/height with tile sizes,
it also adds support for the 2D/1D array mode cross over point.
|
|
|
|
| |
this is to be used to decide not to tile a surface being used for transfers.
|
|
|
|
|
| |
we need to know the aligned height when binding the surface to cb/zb,
not the gallium surface height.
|
| |
|
|
|
|
|
|
| |
Since the hw transitions from 2D->1D sampling below the 2D macrotile
size we need to keep track of the array mode per level so we can
render to it using the CB.
|
|
|
|
| |
this adds a new minify function to the driver to ensure this.
|
| |
|
|
|
|
| |
Everything should be able to support 1.20 at this point.
|
| |
|
|
|
|
|
|
|
|
| |
Silences this GCC warning.
ast_to_hir.cpp: In function 'void apply_type_qualifier_to_variable(const
ast_type_qualifier*, ir_variable*, _mesa_glsl_parse_state*, YYLTYPE*)'
ast_to_hir.cpp:1768: warning: enumeration value 'ir_shader' not handled
in switch
|
|
|
|
| |
LLVM 2.8 is pickier about int vs float instructions and operands.
|
|
|
|
|
|
| |
We were working around an LLVM 2.5 bug but we're using LLVM 2.6 or later now.
This basically reverts commit baddcbc5225e12052b3bc8c07a8b65243d76574d.
This fixes the piglit bug/tri-tex-crash.c failure.
|
|
|
|
|
|
| |
Otherwise consumers have to, and that's lame.
Signed-off-by: Adam Jackson <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
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
|