| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Only INLINE (from mesa/main/compiler.h) is defined now. It may be used
to deal with symbol visibility and int/pointer conversion in the future.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
|
|
|
|
| |
The _TriangleCaps bit is deprecated, not updated when we require, and
is set based on state that hasn't been updated at that point in
_mesa_update_state_locked().
Fixes incorrect clear color in glsl/twoside.c with meta_clear_tris.
|
| |
|
|
|
|
| |
Found by x.org tinderbox, reported by Chris Ball.
|
| |
|
|
|
|
| |
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
|
|
|
|
| |
Use sse_movmskps to extract the correct bits of the comparison result
for use in updating the killmask. Simplify some logic around
identifying the set of necessary comparisons to make.
|
| |
|
|
|
|
|
| |
Most obvious problem is drawpixels comes out blocky, but this may be
an existing issue of KIL on the sse path.
|
|
|
|
| |
Take a list of arguments rather than hardcoding TEMP_R0.
|
|
|
|
|
|
| |
Pass the tgsi_exec_machine struct in directly and just hold a single
pointer to this struct, rather than keeping one for each of its
internal members.
|
|
|
|
| |
Can now guarantee alignment in the initial allocation of the tgsi exec machine.
|
|
|
|
| |
A lot of draw code no longer needs to see this header.
|
|
|
|
|
|
| |
Explictly pass src and dst arguments (previously dst argument was also
being used as a src). Separate argument handling from the rest of
the function call emit.
|
|
|
|
|
| |
Centralize the creation, initialization and destruction of this struct.
Use align_malloc instead of home-brew alternatives.
|
|
|
|
| |
tested on r500 with zreaddraw with Z buffer in all 3 modes
|
| |
|
|
|
|
| |
this uses the correct formula for macro tiled buffers for readback
|
|
|
|
| |
since the surfaces aren't linear you can't just use GET_PTR
|
| |
|
|
|
|
|
| |
Move all the metaops to a dri_metaops file and port radeon/intel
to use the new common meta ops code.
|
|
|
|
|
| |
This function takes a GLint not a GLuint, passing in -1
breaks internally.
|
|
|
|
| |
Fixes new piglit depthrange-clear.c test.
|
|
|
|
|
|
|
| |
RasterPos[2] is already sent through the window transform, which includes
DepthRange handling. So make DepthRange for the metaops a noop.
Fixes a failure in oglconform depthrange.c
|
|
|
|
|
| |
I started looking into why _NEW_ARRAY punishes us, and while annotating
dependencies noticed that a bunch of dependencies were missing.
|
|
|
|
| |
This is just following bind_vertex_array()'s behavior.
|
| |
|
|
|
|
|
|
|
|
|
| |
Since it has a dispatch table entry (for BlendEquationSeparateEXT,)
can't omit it from this list. It'll still get disabled if the cap
(PIPE_CAP_BLEND_EQUATION_SEPARATE) isn't set.
Somebody that doesn't suck at GL (read: not me) should probably add
this into progs/samples/blendeq or similar so we can test it.
|
|
|
|
| |
default extension list
|
|
|
|
|
|
| |
Fixes those formats in fbo_firecube.
Only tested with r300, radeon and r200 compile tested only.
|
|
|
|
|
|
| |
Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'.
Tested with r300, radeon and r200 compile tested only.
|
|
|
|
| |
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
|
|
|
|
| |
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Components of input attributes that are used by fragment program aren't part of vertex program key, and that may lead to situations when vertex program writes only TEX1.xy and fragment program reads TEX1.xyz, resulting in rendering errors.
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We only care about the actual fogcoord itself now, reducing the rewriting
done for the vertex program.
The rewriting of source operand swizzles in the fragment program takes
care that fogcoord.yzw = 001.
This should fix fogcoord rewriting entirely, which had been horribly
broken in the face of dot-product instructions, and just broken (though
not horribly so) in the face of almost every other instruction (the W
component would be incorrect for most arithmetic instructions).
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
| | |
|
| |
| |
| |
| |
| |
| | |
Split initializations becase the vars are of different type.
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
| | |
|
| |
| |
| |
| | |
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
| | |
|
| |
| |
| |
| | |
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
| |
| |
| |
| | |
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
| |
| |
| |
| | |
Reported-by: Nicolai Haehnle <nhaehnle@gmail.com>
|
| | |
|
| |
| |
| |
| | |
We don't have check which attributes are used by fragment program - it's already done by NQSSADCE.
|
| | |
|
| |
| |
| |
| | |
We need to keep unpaired program for vertex program NQSSADCE.
|
| | |
|