Matt Turner
d2872b5612
build: Set visibility CFLAGS in dri/common
13 years ago
Matt Turner
8746f641bb
build: Build src/glsl with visibility CFLAGS
13 years ago
Matt Turner
710a90ccaf
build: Turn on visibility CFLAGS for core mesa
13 years ago
Matt Turner
63c3a051cd
build: Order src/Makefile correctly
13 years ago
Matt Turner
814345f54b
build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition
13 years ago
Matt Turner
b6651ae6ad
build: Use PTHREAD_LIBS and PTHREAD_CFLAGS
13 years ago
Matt Turner
dd4fde8f67
build: Set PTHREAD_LIBS for pkgconfig files if empty
13 years ago
Tom Stellard
00d80b3a6f
llvmpipe: Fix build with LLVM 2.8
Commit 8d9778589f
added all-targets to the
LLVM_COMPONENTS list, but this component does not exist with LLVM 2.8.
Adding all-targets is not necessary for any drivers, and it seems to be
left over from earlier versions of the commit mentioned above.
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
13 years ago
Tom Stellard
67fcb3c2b4
configure.ac: Use amdgpu component for LLVM 3.2
The amdgpu component actually does exist. I must have been using an
older version of llvm-config by accident when I first made this change.
13 years ago
Tom Stellard
f2f17fc348
radeon/llvm: Only initialize the AMDGPU target
13 years ago
Tom Stellard
cbd09a9e5c
radeon: Fix build with LLVM 3.1
The build was broken by commit 8d9778589f
13 years ago
Tom Stellard
8d9778589f
radeon: Support LLVM 3.2
LLVM 3.2 and newer requires that the R600/SI backend be part of the
LLVM tree.
13 years ago
Tom Stellard
91ee735001
r600g: Re-enable growing of the compute memory pool
13 years ago
Tom Stellard
44b1050e6c
r600g: Fix bug when adding new items to the compute memory pool
The items are ordered in the item list by their offsets, with the lowest
offset coming first in the list. The old code was assuming that new
items being added to the list would always have a greater offset than
the first item in the list, however this is not always the case.
13 years ago
Tom Stellard
eacca90f43
r600g: Use a RAT buffer as the backing bo for the compute memory pool
13 years ago
Tom Stellard
5cd1c65dc1
r600g: Make sure to init the compute memory pool with enough memory
13 years ago
Tom Stellard
2508d43c36
r600g: Add evergreen_init_color_surface_rat() v2
This can be used to initialize the CB* registers for buffers without a
radeon_surface.
v2:
- Get correct group_bytes value from r600_screen
- Stop setting unnecessary fields
Reviewed-by: Marek Olšák <maraeo@gmail.com>
13 years ago
Tom Stellard
d13c3b19f9
r600g: Add register field definitions for 028C70_RESOURCE_TYPE
Reviewed-by: Marek Olšák <maraeo@gmail.com>
13 years ago
Oliver McFadden
9545d9611f
intel: add support for ANGLE_texture_compression_dxt.
Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Alex Deucher
304beb81bb
radeonsi: emit PA_SU_PRIM_FILTER_CNTL
has no default value.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <deathsimple@vodafone.de>
13 years ago
Alex Deucher
7d76767f21
radeonsi: remove some old r600g cruft
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <deathsimple@vodafone.de>
13 years ago
Alex Deucher
918e302a19
radeonsi: fix range checking for state regs
end value is exclusive, but in practice we shouldn't
hit this.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
13 years ago
Alex Deucher
f1a3de5e9d
radeonsi: drop some cayman remnants
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <deathsimple@vodafone.de>
13 years ago
Christian König
22ae062fa1
radeonsi: define SGPR register numbers
Instead of hardcoding them.
Signed-off-by: Christian König <deathsimple@vodafone.de>
13 years ago
Christoph Bumiller
c321b1bef1
nvc0: make sure handles for unbound textures/samplers are uploaded on nve4
13 years ago
Christoph Bumiller
2149ce41ed
nv50,nvc0: fix 3d engine blit for nvc0
13 years ago
Christoph Bumiller
36ea744f58
nv50,nvc0: implement blit
13 years ago
Marek Olšák
de80660c2b
gallium: remove resource_resolve
The functionality is provided by the new blit function.
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
d37e6b15ad
st/mesa: implement decompress_with_blit using gallium blit
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
d1b929a137
st/mesa: implement BlitFramebuffer using gallium blit
This also fixes a lot tests, especially all the clip-and-scissor-blit MSAA
piglit tests.
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
ad3d5dbcc5
svga: implement blit
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
3d9d4b1ce6
softpipe: implement blit
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
5f3054dcc4
radeonsi: implement blit
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
fc887d687b
r600g: implement blit
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
95b777e688
r300g: implement blit
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
ced065a079
nv30: implement blit
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
db85443922
nv30: use util_format_is_supported
Hardware drivers *must* use it.
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
ff2d192ec5
llvmpipe: implement blit
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
6d2f59ce54
i915g: implement blit
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
2a309dc2b4
gallium: implement blit in driver wrappers
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
ab3070c5fa
gallium: add helpers for dumping pipe_box and pipe_blit_info
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
cecfb452ab
gallium/u_blitter: add helper for blitting via resource_copy_region
v2: fix off-by-one error in is_box_inside_resource, add comments
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
0b0697e80d
gallium/u_blitter: add gallium blit implementation
The original blit function is extended and the otAher functions reuse it.
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
84d2f2295e
gallium/u_blitter: add ability to disable and restore the render condition
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
59dfe0af60
gallium/u_blitter: facilitate co-existence with the Draw module
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
9cc257ad40
gallium/u_blitter: check PIPE_CAP_TEXTURE_MULTISAMPLE
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
c4df2e3337
gallium: add blit into the interface
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
b9c9dd4783
gallium: add PIPE_CAP_TEXTURE_MULTISAMPLE
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Marek Olšák
c15dbd7ef2
softpipe: fix set_framebuffer_state with uninitialized surfaces past nr_cbufs-1
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago
Vinson Lee
0615e8324c
scons: Use full path of texture_builtins.py.
Fixes this build error on Cygwin.
Explicit dependency `src/glsl/builtins/tools/texture_builtins.py' not
found, needed by target
`build/cygwin-x86-debug/glsl/builtin_function.cpp'.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
13 years ago