Brian Paul
5b639cdc3e
progs/glsl: better comments
15 years ago
Brian Paul
04c136d5c2
llvmpipe: add missing dependency in Makefile
15 years ago
Brian Paul
feffd259da
gallivm: implement TGSI KILP
As in tgsi_exec.c we don't actually rely on condition codes; we do
an unconditional kill. The only predication comes from the execution
mask which applies inside loops/conditionals.
15 years ago
José Fonseca
5c364b3ef7
draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe).
Prevents the assertion failure.
15 years ago
Marek Olšák
dab8f6b1d9
radeon: fix warning
15 years ago
Marek Olšák
dd029dcb14
r300g: raise the max index for generic varyings to 32
This should fix an assertion failure in the game Heroes of Newearth.
Yes, the game seems to generate semantic indices greater than 15.
15 years ago
Brian Paul
01c12ed60c
softpipe: call draw_wide_point_sprites()
15 years ago
Brian Paul
8cb223eb02
gallium/draw: fix point sprite handling
New draw API function to indicate whether or not to convert points to
quads for sprite rasterization.
Fix point-to-quad conversion regression in the wide-point stage. We
need to check the pipe_rasterizer_state::point_quad_rasterization flag.
15 years ago
Brian Paul
d30ab4394e
gallium/draw: use local var to simplify code
15 years ago
Brian Paul
15d60294d6
llvmpipe: consolidate texture memory allocation code
And fix incorrect allocation of linear memory for display targets.
This fixes fd.o bugs 27761 and 27762.
15 years ago
Brian Paul
867109f311
st/glx: variable 'i' is an enum
Now we can get see 'i' as an enum name instead of a plain integer in gdb.
15 years ago
Jakob Bornecrantz
f9f06f68fb
targets: Don't check if we should use trace
Trace does its own checking, and it used the GALLIUM_TRACE variable
as well, but expected a file and not a bool argument.
15 years ago
José Fonseca
86d2383e77
mesa/st: Translate a few more mesa/gallium formats.
These endup used by Xvnc.
15 years ago
Vinson Lee
a85afb9177
llvmpipe: Remove unused variable.
15 years ago
Brian Paul
736a2f2f95
mesa: do version checking for GL 3.x queries
15 years ago
Brian Paul
a40e6f220a
mesa: API and state for GL 3.1 primitive restart
15 years ago
Brian Paul
bd1d35fb5d
mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query
15 years ago
Brian Paul
d3e2f4fa18
mesa: remove some comments
15 years ago
Zhenyu Wang
82abbca692
intel: Add Sandybridge mobile chipset id
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
15 years ago
Zhenyu Wang
cdcef6cbf4
intel: Clean up chipset name and gen num for Ironlake
Rename old IGDNG to Ironlake, and set 'gen' number for
Ironlake as 5, so tracking the features with generation num
instead of special is_ironlake flag.
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
15 years ago
Vinson Lee
9e258fc2bd
gallivm: Remove unnecessary headers.
15 years ago
Vinson Lee
83353e3070
i965g: s/inttypes.h/stdint.h/
MSVC doesn't have either but Mesa has stdint.h at include/c99.
15 years ago
Jakob Bornecrantz
58590a112a
svga: Fix index offset
15 years ago
Brian Paul
e648d4a1d1
st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium textures
Previously, when we created a gallium texture for a corresponding Mesa
texture we'd only allocate space for mipmap levels >= BaseLevel.
This patch undoes that mechanism. This fixes a render-to-texture bug
when rendering to level 0 when BaseLevel=1.
Also, it makes sense to allocate the whole texture object memory when
BaseLevel > 0 since a common use of GL_TEXTURE_BASE_LEVEL is to
progressively load/render mipmaps. Eventually, the app almost always
fills in the level=0 mipmap image.
Finally, the texture image code is bit easier to understand now.
15 years ago
José Fonseca
e9bf09a98a
draw: Fix memory leaks in llvm code.
15 years ago
Adam Jackson
124ef03223
x86-64: Make assembly routines .hidden like on x86
15 years ago
Vinson Lee
32f344f443
i965g: Remove unnecessary header.
15 years ago
Vinson Lee
a5460dc6d7
llvmpipe: Change return type of declaration to match code.
Commit 2142108e0e
changed the return type
of llvmpipe_get_texture_image_address function but didn't change the
declaration.
Fixes build.
15 years ago
Brian Paul
2142108e0e
llvmpipe: code consolidation
15 years ago
Brian Paul
1cb80d31d3
llvmpipe: remove debug code and simplify
15 years ago
Brian Paul
7688a4749e
llvmpipe: fix cube face addressing bug
Fixes fd.o bug 27760 (pigit fbo-cubemap).
15 years ago
Brian Paul
c668a97ad5
llvmpipe: whitespace fix
15 years ago
Jakob Bornecrantz
71901594ed
gallium: Fix copy typo
15 years ago
Jakob Bornecrantz
b88ba89397
svga: Minor clean up of winsys
15 years ago
Jakob Bornecrantz
997969b067
radeong: Minor clean up of winsys
Also try to wrap trace around driver on non-debug builds, its free.
15 years ago
Jakob Bornecrantz
1d98ce511d
nouveau: Minor clean up of winsys
15 years ago
Jakob Bornecrantz
c408942c9c
i965g: Minor clean up of winsys
15 years ago
Jakob Bornecrantz
1c68d1aa4c
i915g: Minor clean up of winsys
15 years ago
Jakob Bornecrantz
fa2d84d2f7
st/egl: No need to use drm_api argument struct
15 years ago
Jakob Bornecrantz
71595a5f3f
st/egl: Use correct driver_name field to get kernel driver name
15 years ago
Jakob Bornecrantz
8a0c99b379
st/egl: Check for null destroy callback on api struct
15 years ago
Brian Paul
395cec966b
mesa: better, smaller error handling code for glGet*()
get.o is about 17% smaller.
15 years ago
Brian Paul
f4dcb5de4e
mesa: better, smaller error handling code for glEnable/Disable/IsEnabled()
Use a goto instead of replicating the _mesa_error() call many times.
enable.o is about 15% smaller.
15 years ago
Brian Paul
f86d7af4a0
mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX)
We no longer support CI-mode color buffers so this is always an error.
15 years ago
Jakob Bornecrantz
ed94c26ce8
svga: Init surface functions
15 years ago
Jakob Bornecrantz
f86def5e74
util: Add missing break statement in u_caps.c
Thanks Vinson.
15 years ago
Brian Paul
7c769bef05
st/mesa: remove unused/disabled code
15 years ago
Brian Paul
421e9aa71c
mesa: added _mesa_print_framebuffer() for debugging
15 years ago
Eric Anholt
ee29b86129
i965: Reject shaders with uninlined function calls instead of hanging.
Most of the failure from using uninlined function calls ends up being
just bad rendering, but nested function calls in the VS currently hang
the GPU, so reject them and explain why.
15 years ago
Eric Anholt
07a248a366
mesa: Don't overwrite a driver's shader infolog with generic failure message.
15 years ago