Commit Graph

67118 Commits

Author SHA1 Message Date
Matt Turner e88ed739f0 swrast: Add headers to distribution. 2014-12-12 12:11:47 -08:00
Matt Turner 58a3ec427f state_trackers: Add headers to distribution. 2014-12-12 12:11:47 -08:00
Matt Turner 4194f9c1ad x86: Add headers to distribution. 2014-12-12 12:11:47 -08:00
Matt Turner 0557d54847 x86-64: Add headers to distribution. 2014-12-12 12:11:47 -08:00
Matt Turner d5fba58f85 sparc: Add headers to distribution. 2014-12-12 12:11:47 -08:00
Matt Turner 1abf4e2f45 math: Add headers to distribution. 2014-12-12 12:11:47 -08:00
Matt Turner 152e967063 program: Add headers to distribution. 2014-12-12 12:11:46 -08:00
Matt Turner e475ad70c8 program: Alphabetize PROGRAM_FILES. 2014-12-12 12:11:46 -08:00
Matt Turner 67abb4910a mesa: Remove moved texcompress_rgtc_tmp.h from source list.
Missed in commit ebcb2ee9.
2014-12-12 12:11:46 -08:00
Matt Turner 9a742eef53 mesa: Add headers to distribution. 2014-12-12 12:11:46 -08:00
Matt Turner 19999c3114 mesa: Alphabetize MAIN_FILES. 2014-12-12 12:11:46 -08:00
Matt Turner 3125cd1f6b glsl: Add lex and yacc sources to distribution.
Since we have manual build rules and list the .c/.cpp files in SOURCES,
we need to explicitly list these for distribution.
2014-12-12 12:11:46 -08:00
Matt Turner 55afbcc661 include: Add remaining headers to distribution. 2014-12-12 12:11:46 -08:00
Matt Turner 2a5b012171 configure.ac: Ship .xz compressed tarballs, in addition to .gz.
11 MiB -> 6.5 MiB.
2014-12-12 12:11:46 -08:00
Matt Turner dd439e494e configure.ac: Use tar-ustar archive format.
The default tar-v7 archive format doesn't support filenames longer than
99 characters, of which we have a few (in src/glsl/tests/lower_jumps/).
2014-12-12 12:11:46 -08:00
Matt Turner 8280358cf1 gtest: Add headers to distribution. 2014-12-12 12:11:46 -08:00
Matt Turner 838ac978f4 glsl: Add headers to distribution. 2014-12-12 12:11:46 -08:00
Matt Turner 69386ddfa6 glsl: Distribute tests/, TODO, and README 2014-12-12 12:11:46 -08:00
Matt Turner b245009173 mesa: Add python scripts to distribution. 2014-12-12 12:11:46 -08:00
Matt Turner cceeea0c4c dri/common: Add files to distribution. 2014-12-12 12:11:46 -08:00
Matt Turner 748d0b04a0 vgapi: Add vgapi.csv to distribution. 2014-12-12 12:11:46 -08:00
Matt Turner 72cf4baeb3 mapi: Add mapi_abi.py to EXTRA_DIST 2014-12-12 12:11:45 -08:00
Matt Turner f6357a993b dri/common: Drop unused mmio.h.
Unused since commit 7550a24f.
2014-12-12 12:11:45 -08:00
Matt Turner 547faf1dec glapi/gen: Add KHR_context_flush_control.xml to distribution. 2014-12-12 12:11:45 -08:00
Matt Turner 2de8da637e configure.ac: Drop generating egl-static and gbm Makefiles. 2014-12-12 12:11:45 -08:00
Matt Turner 1cd2b9177e util: Add headers and python scripts for distribution. 2014-12-12 12:11:45 -08:00
Matt Turner 7808344271 glapi: Make mapi/glapi/gen before mapi to avoid distcheck problem. 2014-12-12 12:11:45 -08:00
Matt Turner 2eef9c0b16 r200: Avoid out of bounds array access.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2014-12-12 12:11:31 -08:00
Eric Anholt e5eaf8ec60 vc4: Fix referencing of sync objects.
While the pipe_reference_* helpers set the pointer, a bare pipe_reference
doesn't.   Fixes 5 ARB_sync tests.
2014-12-12 09:30:35 -08:00
José Fonseca e75e677d28 util: Unbreak usage of assert()/debug_assert() inside expressions.
f0ba7d897d made debug_assert()/assert()
unsafe for expressions, but only now that u_atomic.h started to rely on
them for Windows that this became an issue.

This fixes non-debug builds with MSVC.
Reviewed-by: Brian Paul <brianp@vmware.com>
2014-12-12 14:19:53 +00:00
Eric Anholt 92b85fba89 vc4: Consider FS backface color loads as color inputs as well.
This fixes flatshading of backface color in 4 of the piglit interpolation
tests.
2014-12-11 23:52:34 -08:00
Eric Anholt 5b3c0d999c vc4: Drop redundant index size setting.
This is already done at set_index_buffer() time.
2014-12-11 23:52:34 -08:00
Eric Anholt d78eb57528 vc4: Don't throw out the index offset in the shadow index buffer path.
When we upload shadow indices at draw time, we need the source offset.
Fixes the piglit draw-elements test.
2014-12-11 23:52:25 -08:00
Eric Anholt 0ae5e002e0 vc4: Fix triangle-guardband-viewport piglit test.
The original Broadcom driver also did this with the viewport.
2014-12-11 21:31:27 -08:00
Eric Anholt 87db578268 vc4: Fix a memory leak in setting up QPU instructions for scheduling. 2014-12-11 21:31:27 -08:00
Ben Widawsky 5069e4bd40 i965/gen8+: Remove false perf debug message about MOCS
We support MOCS on both gen8 and gen9, so the message seems meaningless. Remove
it to avoid confusion.

Trivial.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2014-12-11 18:59:38 -08:00
Ben Widawsky 9cd4f90242 i965/gen8: Check correct number of blitter dwords
The odds of having this patch make a difference on Gen8+ are probably very low.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-but-not-tested-by: Jason Ekstrand <jason.ekstrand@intel.com>
2014-12-11 18:59:36 -08:00
Alexander von Gluck IV ad2ffd3bc6 mesa/drivers: Add missing mesautil lib to Haiku swrast
* Resolves missing util_format_linear_to_srgb_8unorm_table symbol.
2014-12-11 03:34:15 +00:00
Roland Scheidegger ff96537759 draw: simplify prim id insertion in prim assembler
Because all topologies are reduced to basic primitives (i.e. no strips, fans)
and the vertices involved are all copied, there's no need for any elaborate
decisions where to insert the prim id. The logic employed was correct for
first provoking vertex, but didn't account at all for the last provoking
vertex case. And since we now will get the right constant value even if the
primitive type is later changed (for unfilled etc.) this is no longer
required to pass certain tests (which were checking for prim_id == some
const interpolated value so passing because both were wrong in the end).
This is a bit overkill (3x4 values assigned in total even though it's really
one scalar per prim...) but the code is now much easier and I don't need to
add more cases for last provoking vertex.

This fixes piglit primitive-id-no-gs-strip test.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-12-10 22:11:16 +01:00
Roland Scheidegger db3dfcfe90 draw: fix another decompose bug affecting constant interpolated attributes
Previously the first provoking vertex convention would only be used if
flatshading were enabled. No matter how I look at it that cannot be possibly
correct. Maybe the code getting used was somewhat simpler that way at a time
where there weren't constant interpolated attributes, only flatshading...
(Note that all other places including the decomposition macros already do
the same.)

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-12-10 22:11:16 +01:00
Roland Scheidegger 2b23149206 draw: fix flatshade stage for constant interpolated values
This stage only worked for traditional old-school flatshading, it did ignore
constant interpolated values and only handled colors, the code probably
predates using of constant interpolated values in gallium. So fix this - the
clip stage apparently did this a long time ago already.
Unfortunately this also means the stage needs to be invoked when flatshading
isn't enabled but some other prim changing stages are - for instance with
fill mode line each of the 3 lines in a tri should get the same attribute
value from the leading vertex in the original tri if interpolation is constant,
which did not happen before
Due to that, the stage is now run in more cases, even unnecessary ones. Could
in theory skip it completely if there aren't any constant interpolated
attributes (and rast->flatshade isn't set), but not sure it's worth bothering,
as it looks kinda complicated getting this information in advance.

No piglit change (doesn't really cover this directly).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-12-10 22:11:16 +01:00
Roland Scheidegger fb61f75bf6 draw: copy over prim id header in flatshade stage when emitting lines
Just like we do for tris (det shouldn't matter at this point, however
can have flags for things like line stipple reset).

No piglit change, it would fail line stippling tests if the flatshade
stage were run, which will happen with the next commit.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-12-10 22:11:16 +01:00
Roland Scheidegger fe7e6b248f gallium/docs: clarify fragment shader position input w component.
The previous language was a bit misleading, since it sounded like
w was interpolated then the reciprocal calculated which isn't what
should be happening.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-12-10 22:11:16 +01:00
Marek Olšák ac319d94d3 docs/relnotes: document the removal of GALLIUM_MSAA
Cc: 10.2.10.3 10.4 <mesa-stable@lists.freedesktop.org>
2014-12-10 21:59:37 +01:00
Marek Olšák 15186607bb radeonsi: take into account NULL colorbuffers when computing CB_TARGET_MASK
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-12-10 21:59:37 +01:00
Marek Olšák 3291eedfe6 radeonsi: only emit line stippling and provoking vertex state when it changes
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-12-10 21:59:37 +01:00
Marek Olšák acda2e113a radeonsi: fix SPI state dependency on sprite_coord_enable
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-12-10 21:59:37 +01:00
Marek Olšák 7991d602f3 radeonsi: fix line stippling and provoking vertex state for GS primitives
I'm not sure if GS hw outputs line lists or line strips.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-12-10 21:59:37 +01:00
Marek Olšák 834bee42ed radeonsi: emit DRAW_PREAMBLE only if it changes
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-12-10 21:59:37 +01:00
Marek Olšák c466093512 radeonsi: remove setting of VGT_DISPATCH_DRAW_INDEX
It's used only if VGT_SHADER_STAGES_EN.DISPATCH_DRAW_EN is 1, which we don't
set.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-12-10 21:59:37 +01:00