summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-03gallium: adjust the query interface to support custom typesgallium-stream-outZack Rusin12-15/+22
we need to change it to support composite types
2010-06-02gallium: rename draw_auto to draw_stream_output, plus fix a commentZack Rusin5-5/+4
Brian spotted those
2010-06-01gallium: make draw auto work and add relevant caps and docsZack Rusin7-6/+43
2010-05-31gallium: add interface for DrawAuto and implement it in softpipeZack Rusin6-1/+75
2010-05-31gallium: a lot more complete implementation of stream outputZack Rusin9-75/+381
interface wise we have everything needed by d3d10 and gl transform feedback. the draw module misses implementation of some corner cases (e.g. when stream output wants different number of components per output than normal rendering paths)
2010-05-28gallium: basic and initial implementation of the stream output interfaceZack Rusin11-1/+161
aka transform feedback
2010-05-28r300g: remove unnecessary breaksMarek Olšák1-4/+1
2010-05-28r300g: report vertex format support in is_format_supportedMarek Olšák5-23/+39
2010-05-28st/mesa: advertise ARB_half_float_vertex when availableMarek Olšák1-0/+7
Both softpipe and llvmpipe pass the piglit half float test.
2010-05-28r300g/swtcl: fix WPOSMarek Olšák2-9/+8
There you are! r300->viewport_state is undefined when using SW TCL. Piglit score (r300g.tests): HW TCL: 231/275 SW TCL: 233/275
2010-05-28r300g/swtcl: avoid an infinite loop if an occl. query doesn't return anythingMarek Olšák1-2/+6
2010-05-27r600g: disable renderingJerome Glisse1-2/+7
Disable rendering to avoid GPU lockup. Use radeondb to debug shader compiler : radeondb -c gallium.bof radeondb -s gallium.json Will print shader generated, best is to use fp demos to test the compiler. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-05-27r600g: various fixesBas Nieuwenhuizen8-25/+26
- enabled flushing a buffer more than once - enabled the blitter for r600_clear - added some more colors to r600_is_format_supported (copied from r600_conv_pipe_format) - r600_set_framebuffer_state now sets rctx->fb_state - more states are saved before a blit (had to add some accounting for the viewport and the vertex elements state) - fixed a few errors with reference counting
2010-05-27r600g: fix driver + shader compiler backend changeJerome Glisse7-384/+632
Change the way we translate from c_compiler to the asic specific representation. Should make things simpler. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-05-27r600g: Integrate into buildJakob Bornecrantz6-3/+29
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27r600g: Fix buffer offsetsJakob Bornecrantz1-2/+2
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27r600g: adapt to latest interfaces changesMarek Olšák44-1760/+615
- Wrapped the buffer and texture create/destroy/transfer/... functions using u_resource, which is then used to implement the resource functions. - Implemented texture transfers. I left the buffer and texture transfers separate because one day we'll need a special codepath for textures. - Added index_bias to the draw_*elements functions. - Removed nonexistent *REP and *FOR instructions. - Some pipe formats have changed channel ordering, so I've removed/fixed nonexistent ones. - Added stubs for create/set/destroy sampler views. - Added a naive implementation of vertex elements state (new CSO). - Reworked {texture,buffer}_{from,to}_handle. - Reorganized winsys files, removed dri,egl,python directories. - Added a new build target dri-r600.
2010-05-27r600g: Initial importJerome Glisse52-0/+14464
2010-05-27llvmpipe: s/bool/boolean/Brian Paul1-2/+2
2010-05-27llvmpipe: s/bool/booleanBrian Paul1-2/+2
2010-05-27sw/xlib: avoid dereferencing a null pointerBrian Paul1-1/+1
2010-05-27gallivm: add assertions to check type of phi variablesBrian Paul1-0/+2
2010-05-27mesa: fix incorrect GL_DEPTH_STENCIL_ATTACHMENT format checkBrian Paul1-3/+3
We want to check the incoming renderbuffer format, not the (potentially non-existant) current attachment. Fixes segfault w/ fbotexture -ds2. NOTE: this will be applied to the 7.8 branch too.
2010-05-27r300g/swtcl: fix secondary color and back-face color outputsMarek Olšák6-5/+382
These piglit tests have been fixed: - bgra-sec-color-pointer - glsl-routing See comments at the beginning of r300_vs_draw.c WPOS is implemented too but it doesn't work yet. I'm still working on it.
2010-05-27llvmpipe: Refer to my personal udis86 repository.José Fonseca1-2/+3
As it has a bunch of fixes/additions not merged by upstream yet.
2010-05-27util: Also add a define for the dynamic library's prefix.José Fonseca1-0/+3
2010-05-27egl/mks: remove extra param from function callBrian Paul1-1/+1
2010-05-27egl_g3d: add missing param to egl_g3d_st_manager_get_egl_image()Brian Paul1-0/+1
2010-05-27fbdev: some hacking to get the driver to compile (untested)Brian Paul2-1/+10
2010-05-27update linux-fbdev configBrian Paul1-2/+2
2010-05-27vbo: comments and whitespaceBrian Paul1-7/+5
2010-05-27vbo: remove unused prototypeBrian Paul1-3/+0
2010-05-27vbo: remove dead codeBrian Paul1-21/+0
2010-05-27vbo: update/add commentsBrian Paul1-15/+62
2010-05-27mesa: Remove unnecessary headers.Vinson Lee1-5/+0
2010-05-27egl: Return NULL if we fail to load a default driverKristian Høgsberg1-1/+1
2010-05-26mesa: remove unused includesBrian Paul1-2/+0
2010-05-26mesa: rewrite _mesa_get_handle() and add some commentsBrian Paul1-6/+14
2010-05-26mesa: move GLSL uniform functions into new source fileBrian Paul6-858/+957
2010-05-26st/mesa: Remove unnecessary headers.Vinson Lee3-6/+0
2010-05-26Enable hardware mipmap generation for radeon.Will Dyson1-3/+8
Use _mesa_meta_GenerateMipmap. It is Fast Enough(tm). Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-26Fix image_matches_texture_obj() MaxLevel checkWill Dyson1-4/+7
When generating or uploading a new (higher) mipmap level for an image, we can need to allocate a miptree for a level greater than texObj->MaxLevel. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-26Fallback to software render if there is no miptree for an imageWill Dyson1-4/+4
This can happen when checking if a software fallback for a higher level operation (such as GenerateMipmap) is needed. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-27r300g: decouple drawing code and two-sided stencil refvalue fallbackMarek Olšák3-205/+154
It's now more separate from the rest of the driver and it can be disabled by commenting out just 1 line. Well, I couldn't make the previous version work with SW TCL reliably, that's the reason of this little rework.
2010-05-26r300g/swtcl: handle large index count properlyMarek Olšák1-23/+53
This fixes piglit/draw-elements.
2010-05-26r300g/swtcl: force vertex prefetching for non-indexed primitivesMarek Olšák3-6/+7
2010-05-26r300g/swtcl: move emitting AOS to prepare_for_renderingMarek Olšák3-11/+14
2010-05-26r300g/swtcl: vbo transfer sanity checksMarek Olšák1-0/+6
2010-05-26r300g: add get_cs_info winsys entrypoint, abandon check_csMarek Olšák6-7/+27
2010-05-26r300g/swtcl: do not use u_upload_mgr and do not compute max_indexMarek Olšák2-40/+45