Tom Stellard
7e9abbea15
radeon/llvm: Implement radeon_llvm_parse_bitcode() using C API
...
Also make the function static since it is not used anywhere else.
2013-03-13 16:01:30 +00:00
Tom Stellard
97bfcddde0
r600g/llvm: Move llvm wrapper functions into the radeon directory
2013-03-13 16:01:30 +00:00
Jon TURNEY
28e1693630
Properly check GLX_INDIRECT_RENDERING in glapi/tests/check_table
...
Actually use $DEFINES, so we can see if GLX_INDIRECT_RENDERING is defined
If GLX_INDIRECT_RENDERING is defined, _GLAPI_SKIP_PROTO_ENTRY_POINTS will
be defined, and libglapi won't contain the 'protocol entry points', so we
should provide stubs in check_table.cpp
2013-03-13 14:55:52 +00:00
Jon TURNEY
ed8ddd57e9
Fix glapi/tests/check_table.cpp for standardized OpenGL function names
...
It looks like this has been broken since commit
1a1db1746d "Standardize names of OpenGL
functions."
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2013-03-13 14:53:49 +00:00
Jon TURNEY
c7a319182f
Fix out-of-tree build of 'make check' in src/mapi/glapi/tests/
...
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2013-03-13 14:53:36 +00:00
José Fonseca
cff70dcfb2
scons: Define PACKAGE_VERSION/BUGREPORT globally.
...
Fixes the scons build.
2013-03-13 13:13:37 +00:00
Vinson Lee
a6bb7a9495
tests: Add $(top_srcdir)/include to AM_CPPFLAGS.
...
Fixes this build error with make check.
CC collision.o
In file included from ../../../../../src/mesa/main/hash_table.h:34:0,
from collision.c:31:
../../../../../src/mesa/main/compiler.h:51:53: fatal error: c99_compat.h: No such file or directory
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
2013-03-12 23:14:39 -07:00
José Fonseca
f7ef83cdf4
scons: Define PACKAGE_xxx
...
Should get the builds going again.
2013-03-13 01:29:47 +00:00
Brian Paul
6f86b934e6
docs: rewrite the OSMesa info / instructions
...
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-03-12 19:04:43 -06:00
Brian Paul
79eac7da6b
configure: wire-up new OSMesa gallium state tracker and target
...
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-03-12 19:04:43 -06:00
Brian Paul
be51f123c9
target/osmesa: add new Makefile.am
...
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-03-12 19:04:43 -06:00
Brian Paul
94263da46e
targets/osmesa: new OSMesa gallium target
...
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-03-12 19:04:43 -06:00
Brian Paul
7114b6a92d
st/osmesa: add new Makefile.am
...
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-03-12 19:04:43 -06:00
Brian Paul
73436a909e
st/osmesa: new OSMesa gallium state tracker
...
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-03-12 19:04:43 -06:00
Brian Paul
3c3668c5a1
st/mesa: add PIPE_FORMAT_R16G16B16A16_UNORM renderbuffer support
...
To allow rendering in 16-bit/channel RGBA buffers.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-03-12 19:04:42 -06:00
José Fonseca
c526e1728f
scons: Re-add ','
2013-03-13 00:31:03 +00:00
José Fonseca
7bff1cc3f6
autotools: Add missing top-level include dir.
...
Fixes autotools build failure. Not sure if there are more, as I have
difficulties in building the full tree.
2013-03-13 00:25:09 +00:00
Matt Turner
5c6e1e97b3
configure.ac: Alphabetize freedreno makefiles.
2013-03-12 17:09:55 -07:00
Matt Turner
d89ef39418
build: Get rid of dead MESA_ASM_FILES variable
...
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-03-12 17:02:54 -07:00
Matt Turner
bd0c9d07d0
mesa/build: Get rid of dead ALL_FILES variable
...
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-03-12 17:02:47 -07:00
Matt Turner
51e065a96c
xmlpool/.gitignore: Remove 'Makefile'
...
Handled by top level .gitignore.
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-03-12 17:02:40 -07:00
Matt Turner
e59fc3faa5
mesa: Use PACKAGE_BUGREPORT macro.
...
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-03-12 17:02:33 -07:00
Matt Turner
9065bab37e
mesa: Remove unused version #defines from version.h.
...
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-03-12 17:02:28 -07:00
Matt Turner
439c3d4e31
mesa: Replace MESA_VERSION with PACKAGE_VERSION.
...
One fewer place to have to update.
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-03-12 17:02:21 -07:00
Zack Rusin
42c1b33f6d
draw/so: Fix stream output with geometry shaders
...
If geometry shader is present its stream output info should
be used instead of the vs and we shouldn't use the pre-clipped
corrdinates.
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-03-12 16:22:26 -07:00
José Fonseca
57cd1d1454
include: Fix build with VS 11 (i.e, 2012).
...
NOTE: Candidate for the stable branches.
Reviewed-by: Brian Paul <brianp@vmware.com>
2013-03-12 22:07:10 +00:00
José Fonseca
70fe7c6d3e
mesa,gallium,egl,mapi: One definition of C99 inline/__func__ to rule them all.
...
We were in four already...
NOTE: Candidate for the stable branches.
Reviewed-by: Brian Paul <brianp@vmware.com>
2013-03-12 22:06:27 +00:00
José Fonseca
96b3ca89b1
scons: Allows choosing VS 10 or 11.
...
NOTE: Candidate for the stable branches.
Reviewed-by: Brian Paul <brianp@vmware.com>
2013-03-12 22:04:04 +00:00
Michel Dänzer
4dca602521
radeonsi: Fix off-by-one for maximum vertex element index in some cases
...
In cases where the vertex element size is smaller than the vertex buffer
stride, the previous calculation could end up 1 too low. This would result
in the GPU using index 0 instead of the maximum index for those elements,
which would be visible as intermittent distorted triangles.
NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2013-03-12 18:25:54 +01:00
Christoph Bumiller
8aa8b0539e
nvc0: avoid crash on updating RASTERIZE_ENABLE state
...
When doing a blit with the 3D engine, the rasterizer or zsa cso may
be NULL.
2013-03-12 12:55:37 +01:00
Christoph Bumiller
4d28aff48f
gallium/tests: check format in compute tests, make selectable
2013-03-12 12:55:37 +01:00
Christoph Bumiller
e2dded78ea
nvc0: add MP trap handler for nve4
2013-03-12 12:55:37 +01:00
Christoph Bumiller
ae59a7d35d
nvc0: they removed the NTID,NCTAID,GRIDID registers on nve4
2013-03-12 12:55:37 +01:00
Christoph Bumiller
e066f2f62f
nvc0: implement compute support for nve4
2013-03-12 12:55:37 +01:00
Christoph Bumiller
75f1f852b0
nvc0/ir: try to fix CAS (CompareAndSwap)
2013-03-12 12:55:37 +01:00
Christoph Bumiller
18fdfbdc32
nv50/ir: add CCTL (cache control) op
2013-03-12 12:55:37 +01:00
Christoph Bumiller
9db7e09cb4
nvc0/ir/emit: fix emission of large address offsets
2013-03-12 12:55:36 +01:00
Christoph Bumiller
175c185941
nvc0: add SHADER/COMPUTE_RESOURCE bind flags to format table
2013-03-12 12:55:36 +01:00
Christoph Bumiller
19ea0bd521
nouveau: align PIPE_BIND_SHADER,COMPUTE_RESOURCEs to 256 bytes
2013-03-12 12:55:36 +01:00
Christoph Bumiller
47f2179844
nv50,nvc0: copy writable flag on surface creation
2013-03-12 12:55:36 +01:00
Christoph Bumiller
7a91d3a2a4
nv50/ir: add support for different sampler and resource index on nve4
...
And remove non-working code for indirect sampler/resource selection.
Will be added back later.
Includes code from "nv50/ir/tgsi: Resource indirect indexing" by
Francisco Jerez (when mixing the R and S handles we can only specify
them via a register, i.e. indirectly, unless we upload all the used
handle combinations to c[] space, which we don't for now).
2013-03-12 12:55:36 +01:00
Christoph Bumiller
99e4eba669
nv50/ir: implement splitting of 64 bit ops after RA
2013-03-12 12:55:36 +01:00
Christoph Bumiller
ac9f19e485
nvc0/ir: skip back edges when determining latest sched value
2013-03-12 12:55:36 +01:00
Christoph Bumiller
f07c46a4f4
nvc0/ir: use large issue delay after RET, too
2013-03-12 12:55:36 +01:00
Christoph Bumiller
b23ec3f8ba
nv50/ir: fix size adjustment for sched info for multiple functions
2013-03-12 12:55:36 +01:00
Christoph Bumiller
d39169cb6d
nv50/ir: print function inputs and outputs
2013-03-12 12:55:36 +01:00
Christoph Bumiller
1b4faa2b17
nv50/ir/ssa: add a few comments regarding RenamePass
2013-03-12 12:55:36 +01:00
Francisco Jerez
1535b754fb
nv50/ir/tgsi: Exclude local declarations from function prototypes.
2013-03-12 12:55:36 +01:00
Christoph Bumiller
9b563ef3f7
nv50/ir/opt: try to make use of SUCLAMP addend
2013-03-12 12:55:36 +01:00
Christoph Bumiller
a788be19e5
nv50/ir: don't assert on type in Modifier.applyTo if it is 0
2013-03-12 12:55:35 +01:00