Commit graph

36219 commits

Author SHA1 Message Date
Corbin Simpson
517a4fb051 gallium/docs: Fix RST error. 2010-06-16 18:58:18 -07:00
Vinson Lee
2412188453 r300g: Fix uninitialized variable warnings in error path. 2010-06-16 17:56:00 -07:00
Vinson Lee
84178547df intel: Remove unnecessary headers. 2010-06-16 17:44:26 -07:00
Zack Rusin
638a80bc07 draw: make sure we correctly iterate over output buffers on stream out
we kept overwriting the first attribute of a vertex in a single-stream-
out-buffer case
2010-06-16 15:56:17 -04:00
Zack Rusin
509ff13d06 graw: remove wrong test 2010-06-16 15:10:21 -04:00
Zack Rusin
0b8e198027 draw: add stream output decomposition file 2010-06-16 15:03:55 -04:00
Zack Rusin
287531772c draw: rewrite stream output to handle all the dark corners
register masks, multiple output buffers, multiple primitives,
non-linear vertices (elts) and stride semantics.
2010-06-16 14:43:56 -04:00
Zack Rusin
668fa68019 translate: don't crash on elts paths with instances 2010-06-16 14:43:56 -04:00
Corbin Simpson
e41ad8d2c5 r300g: Fix up resolve.
Yay for old code.
2010-06-16 11:01:34 -07:00
Corbin Simpson
61145c0d5c r300g: Fix MSAA state size. 2010-06-16 10:54:09 -07:00
Corbin Simpson
8ecca392da r300g: Don't multisample non-32-bpp render targets. 2010-06-16 10:54:09 -07:00
Corbin Simpson
68cefb423a r300g: Finish resolve function. 2010-06-16 10:54:08 -07:00
Corbin Simpson
e163fc0b15 r300g: Add resource resolve function. 2010-06-16 10:54:08 -07:00
Corbin Simpson
a91fea65dc r300g: Moar MSAA setup.
Need to just add the resolve, then go switch to new DRM and test.
2010-06-16 10:54:08 -07:00
Corbin Simpson
3784b0fa69 r300g: Fix indentation.
I could *not* let this slide since I'm on a 78-char-wide terminal.
2010-06-16 10:54:08 -07:00
Corbin Simpson
5c58618406 r300g: Old MSAA code from before gallium-msaa. 2010-06-16 10:54:06 -07:00
Alan Hourihane
867478b6f6 util: add alloc check 2010-06-16 18:10:34 +01:00
Alan Hourihane
51729b5119 draw: add alloc check 2010-06-16 18:02:21 +01:00
Henri Verbeet
71646528da r600: GL_COORD_REPLACE state is only relevant when point sprites are enabled. 2010-06-16 12:47:28 -04:00
Marc
5552dffa39 r600: fix warnings 2010-06-16 12:47:28 -04:00
Dan Nicholson
cbf30fce32 osmesa: always build standalone for internal symbols
When building OSMesa and xlib GL, the resulting OSMesa would be linked
against libGL instead of the internal mesa libraries. However, when
building with -fvisibility=hidden, some of the internal functions used
in OSMesa could not be resolved through libGL.

Instead, always build OSMesa standalone without linking against libGL.
This has the advantage that OSMesa is always built the same way, but it
means that disk space is wasted when libGL is installed since both
libraries will contain the internal objects.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Tom Fogal <tfogal@alumni.unh.edu>
2010-06-16 09:23:17 -07:00
Alan Hourihane
1c377cea10 draw: handle some out of memory conditions 2010-06-16 12:27:53 +01:00
Zack Rusin
9829ec2ad8 graw: add a gs test for non-sequential inputs 2010-06-16 05:33:46 -04:00
Ian Romanick
298586fd6c Add TODO list
Don't want to forget anything, no do we?
2010-06-15 17:42:16 -07:00
Vinson Lee
88308ea173 draw: Remove unnecessary headers. 2010-06-15 17:34:59 -07:00
Zack Rusin
3560652ccf gs: make sure we end primitives when finishing executing shaders 2010-06-15 16:37:32 -04:00
Zack Rusin
215e10ac26 draw/gs: make sure gs works with elts and doesn't overrun the buffer 2010-06-15 16:10:18 -04:00
Ian Romanick
81e1747ac5 Printing LIR is optional 2010-06-15 12:51:38 -07:00
Ian Romanick
7babbdbd82 Printing the AST is optional 2010-06-15 12:50:53 -07:00
Ian Romanick
fc0ef6451c Minor bits of code rearranging 2010-06-15 12:20:49 -07:00
Ian Romanick
2b36895f0c Infer shader type from suffix on filename 2010-06-15 12:00:37 -07:00
Kristian Høgsberg
80dfec3e53 mesa: Allow querying the system FBO in GetFramebufferAttachmentParameteriv
If the default framebuffer is bound to <target>, then
        <attachment> must be one of FRONT_LEFT, FRONT_RIGHT, BACK_LEFT,
        BACK_RIGHT, AUXi, DEPTH_BUFFER, or STENCIL_BUFFER, identifying a
        color buffer, the depth buffer, or the stencil buffer, and
        <pname> may be FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE or
        FRAMEBUFFER_ATTACHMENT_OBJECT_NAME.

as well as these <pname> values

        FRAMEBUFFER_ATTACHMENT_RED_SIZE,
        FRAMEBUFFER_ATTACHMENT_GREEN_SIZE,
        FRAMEBUFFER_ATTACHMENT_BLUE_SIZE,
        FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE,
        FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,
        FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE,
        FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE, or
        FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING.

https://bugs.freedesktop.org/show_bug.cgi?id=28551
2010-06-15 13:28:38 -04:00
Zack Rusin
726f18ee69 graw: test multiple cb's in geometry shaders 2010-06-15 12:14:18 -04:00
Zack Rusin
ec82e9fbfa graw: fix setup for multiple constant buffers 2010-06-15 12:01:47 -04:00
Zack Rusin
bf577393c7 draw: run the pipeline with the correct number of verts
verts per primitive, not total count
2010-06-15 09:12:20 -04:00
Zack Rusin
9cf5e814b9 draw: fix primitive indexing in the pipeline
spotted by Keith
2010-06-15 09:12:20 -04:00
Zack Rusin
a192b5eeaf draw: finish the new pipeline setup
Keith came up with a new way of running the pipeline which involves passing
a few info structs around (for fetch, vertices and prims) and allows us
to correctly handle cases where we endup with multiple primitives generated
by the pipeline itself.
2010-06-15 09:12:20 -04:00
Zack Rusin
92e521a799 softpipe/gs: fix a crash when a gs isn't present 2010-06-15 09:12:19 -04:00
Keith Whitwell
b85a361ccb draw wip 2010-06-15 09:12:19 -04:00
Vinson Lee
5d4d4b2134 i965: Remove unnecessary header. 2010-06-14 17:50:15 -07:00
Ian Romanick
54992c30b0 Remove ability to read "IR shaders" from stand-alone compiler 2010-06-14 14:47:26 -07:00
Ian Romanick
61d4aa041f Move stand-alone compiler main routine to main.cpp 2010-06-14 14:46:09 -07:00
Marek Olšák
0452d52ae3 r300g: initialize US_CODE_BANK on r4xx 2010-06-14 23:39:56 +02:00
Eric Anholt
7dcba1af9d i965: Fix surface state dumping with INTEL_DEBUG=batch.
I broke this with the state streaming changes.
2010-06-14 14:03:56 -07:00
Zhenyu Wang
9a1ce46fce i965: correct the gen6 line stipple enable define. 2010-06-14 14:03:56 -07:00
Eric Anholt
44ad62b86c intel: Remove long-dead comment about releasing texture heaps.
BOs are stored in the bufmgr, which is freed as part of the screen
structure.
2010-06-14 14:03:56 -07:00
José Fonseca
4b383054d3 gallivm: Omit references to NoFramePointerElimNonLeaf
It was added after 2.7.
2010-06-14 17:36:17 +01:00
José Fonseca
27fafa2587 util: Use int type for format field width.
As suggested by gcc warning.
2010-06-14 17:11:21 +01:00
José Fonseca
4d2407699b gallivm: Override some of the default target options.
In particular:
- enable LLVM <-> GDB integration for JIT code
- disable frame-pointer elimination on debug/profile builds
- enable fast-math.
2010-06-14 16:51:47 +01:00
José Fonseca
21a9ef12bf gallivm: Use func_to_pointer(). 2010-06-14 16:50:40 +01:00