| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This is required for D3D1x and supported by hardware.
|
|
|
|
|
|
|
|
|
|
| |
EXT_texture_integer also specifies border color should be a color
union, the values are used according to the texture sampler format.
(update docs)
Signed-off-by: Dave Airlie <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
|
|
|
|
|
|
| |
This fixes ARB_draw_elements_base_vertex with max_index != ~0.
NOTE: This is a candidate for the 7.11 branch.
|
|
|
|
|
|
| |
Also don't rely on pipe_draw_info being set correctly.
NOTE: This is a candidate for the 7.11 branch.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- first determine the buffer range to upload for each buffer by walking over
vertex elements
- take buffer_offset into account
- take src_offset into account
- take src_format into account in more places
- don't just blindly upload (stride*count) bytes
NOTE: This is a candidate for the 7.11 branch.
|
| |
|
| |
|
|
|
|
| |
NOTE: This is a candidate for the 7.11 branch.
|
|
|
|
| |
NOTE: This is a candidate for the 7.11 branch.
|
|
|
|
|
|
| |
It can now override both buffer offsets and strides in additions to resources.
Overriding buffer offsets was kinda hackish and could cause issues with
non-native vertex formats.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fence emission can flush the push buffer, which through flush_notify
unreferences recently emitted fence. If ref count is increased after
fence emission, unreference deletes the fence, which causes SIGSEGV.
Backtrace:
nouveau_fence_del
nouveau_fence_ref
nouveau_fence_next
nouveau_pushbuf_flush
MARK_RING
nv50_screen_fence_emit
nouveau_fence_emit
nv50_flush
This bug manifested as an assertion failure in nouveau_fence.c, because
SIGSEGV handler tried to shutdown the application and used messed up
fence.
This issue was reported by Maxim Levitsky.
Note: This is a candidate for the 7.11 branch.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes segfault with memory debugging on.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
related to the use of the clock_gettime() function
This patch fix a "Unresolved Symbols" run time error when using G3DVL
through the VDPAU state tracker, by linking the vdpau targets with librt.
Reported by Arkadiusz Miśkiewicz.
Caused by this commit :
commit e911dbb56374edf9f3b7c4cec0cf9a22738bb198
Author: Emeric Grange <[email protected]>
Date: Mon Sep 12 23:39:33 2011 +0200
Signed-off-by: Emeric Grange <[email protected]>
|
|
|
|
|
|
|
| |
This should bring g3dvl back to work until we figured out
how SCALED types should really work.
Signed-off-by: Christian König <[email protected]>
|
|
|
|
|
|
|
| |
Prevents mismatches when the VS outputs generic attributes not used by
the FS.
Reviewed-by: Brian Paul <[email protected]>
|
|
|
|
|
|
|
|
| |
There is no guarantee that the tokens TGSI will persist beyond the
create_fs_state. The pipe driver (and therefore the draw module) is
responsible for making copies of the TGSI tokens when it needs them.
Reviewed-by: Brian Paul <[email protected]>
|
| |
|
|
|
|
| |
It was always zero.
|
|
|
|
| |
Be consistent with other functions in the file. And add some comments.
|
|
|
|
| |
'shader' is more intuitive. Also s/int/unsigned/ and add assertions.
|
|
|
|
|
|
| |
Previously we were using a hodge podge of int vs. pipe_enum and
0 vs. PIPE_OK. Some functions that always returned PIPE_OK were
made void.
|
|
|
|
|
| |
Without this, apps/tests that tried to use a DXT/sRGB format would die on
a failed assertion (st_texture.c:80).
|
|
|
|
|
|
| |
Only the XYZ components are checked to be negative by SVGA3DOP_TEXKILL.
GL_ARB_fp requires all four components be checked. Emit a second texkill
for W if needed.
|
|
|
|
|
|
|
| |
We only need to do the divide by Q step for TXP instructions.
This fixes the incorrectly rendered soft shadow test in Lightsmark.
Along with the previous texture swizzle commit, this also fixes all
the piglit glsl-fs-shadow2d-XX.shader_test failures.
|
|
|
|
|
|
|
| |
This exposes the GL_EXT_texture_swizzle extension and allows the various
depth texture modes to be implemented properly. This, plus a follow-on
texture/shadow change fixes quite a few piglit GLSL shadow sampler test
failures.
|
| |
|
|
|
|
|
|
| |
Emit the SVGA3D_RS_POINTSPRITEENABLE render state.
When sprite_coord_mode=PIPE_SPRITE_COORD_LOWER_LEFT emit extra frag
shader code to invert the Y coordinate of the incoming texcoord.
|
| |
|
|
|
|
| |
See bug 688394
|
|
|
|
|
|
| |
Accurately describe what operations are supported when a format caps
entry is not advertised by the host, and which formats are never
supported, instead of making ad-hoc and often incorrect assumptions.
|
|
|
|
|
|
|
| |
sampled from.
Mitigates issues with hosts where support for these new depth formats is
flaky.
|
| |
|
| |
|
| |
|
|
|
|
| |
TODO: Can we pass this as the same texcoord as fog?
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
HWv8 feature.
Tested with GoogleEarth, Mesa demos.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
It is sometimes useful to examine the first frame or and early frame of a
quickly executing and non-repeating application, this chain introduces a new
environment variable that is checked when creating contexts. If
GALLIUM_RBUG_START_BLOCKED is set, then each context that is created is started
in a blocked state. This allows time to connect rbug before anything is
rendered in the context.
|
|
|
|
| |
draw_pt_fetch_pipeline_or_emit_llvm()
|
|
|
|
| |
That helps reduce the number of texture indirections, which are very limited on i915.
|