Marek Olšák
4182d3ea00
r600g: remove unused struct r600_state
...
What was the purpose of it?
2010-05-31 04:16:24 +02:00
Vinson Lee
1202f17063
r600g: Remove unnecessary headers.
2010-05-30 15:30:05 -07:00
Alex Deucher
3b869b4cdb
r600g: RS880 is r6xx-based
...
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-30 16:08:55 -04:00
José Fonseca
7f1c007840
llvmpipe: Remove unused framebuffer stuff from the rasterizer.
2010-05-30 16:39:14 +01:00
José Fonseca
2b7fbccfdc
llvmpipe: Don't force a linear to tiled conversion after rasterization on debug builds.
...
Only do this if runtime debugging flags to show subtiles/tiles are set.
2010-05-30 16:39:06 +01:00
José Fonseca
82715bb227
llvmpipe: Call llvmpipe_set_texture_tile_layout only when necessary.
...
Like the other places.
2010-05-30 16:38:46 +01:00
José Fonseca
b57e18c35c
util: Add inline function for approximate floating point comparison.
2010-05-30 16:38:41 +01:00
José Fonseca
f503b3dd9d
llvmpipe: Use pointer_to_func() instead of custom wrappers.
2010-05-30 16:38:23 +01:00
José Fonseca
4b29da1226
draw: Use pointer_to_func() instead of custom wrappers.
2010-05-30 16:38:03 +01:00
José Fonseca
6f67a71aad
util: Generic pointer to func conversion helper.
...
That observes strict-aliasing rules.
2010-05-30 16:36:08 +01:00
José Fonseca
18fb9ff6d8
llvmpipe: Pass the fs variant to the rasterizer.
2010-05-30 10:30:01 +01:00
José Fonseca
dc10943038
python/retrace: Interpret resource_copy_region.
2010-05-30 10:30:01 +01:00
José Fonseca
311227abbb
st/python: Expose region_copy/fill_region instead of deprecated surface_copy/fill
2010-05-30 10:30:01 +01:00
Chia-I Wu
0f37f242dd
st/vega: Use FREE.
...
Match MALLOC with FREE. Otherwise, it causes weird segfaults when built
with memory debugging.
2010-05-30 11:11:27 +08:00
Chia-I Wu
a5183a38c2
st/egl: Hook eglCreatePbufferFromClientBuffer.
...
This is some refactoring works. Creating a pbuffer from an
EGL_OPENVG_IMAGE is still not supported.
2010-05-30 11:09:30 +08:00
Chia-I Wu
9d7219c560
st/egl: Fix eglCopyBuffers.
...
It was broken since surface_copy -> resource_copy_region transition.
2010-05-30 11:05:15 +08:00
Chia-I Wu
20c3d7190e
st/egl: Initialize KMS backend from an fd.
...
Check if the native native is EGL_DEFAULT_DISPLAY. If not, treat it as
an fd.
2010-05-30 10:52:50 +08:00
Marek Olšák
b5c147caba
r600g: remove unused variable
2010-05-29 15:41:22 +02:00
Marek Olšák
7d9396d7cf
r600g: fix gallium function parameters
2010-05-29 15:41:22 +02:00
Marek Olšák
1d57b6ebd1
r600g: make a local copy of viewport state
2010-05-29 15:41:22 +02:00
Jakob Bornecrantz
e7f0f6bb72
i915g: Rename winsys c file
2010-05-29 13:31:30 +02:00
Jakob Bornecrantz
835f5a65a1
i915g: Move pci id to winsys struct
2010-05-29 13:30:25 +02:00
Jakob Bornecrantz
bbaaf823fa
targets/egl: Give egl targets a good build enviroment
2010-05-29 13:19:13 +02:00
Marek Olšák
ba10b2732b
r600g: fix build
2010-05-29 02:31:44 +02:00
Brian Paul
e6d8b4090f
llvmpipe: add PIPE_BUFFER to assertion
...
Fixes regression from commit f2e05acac9 .
2010-05-28 13:31:23 -06:00
Brian Paul
f57edc58b5
softpipe: add PIPE_BUFFER to assertion
...
Fixes regression from commit f2e05acac9 .
2010-05-28 13:30:24 -06:00
Brian Paul
151b3bb3af
llvmpipe: add out of memory checking to triangle setup path
2010-05-28 12:52:41 -06:00
Marek Olšák
f4bcd0cab0
r300g: remove unnecessary breaks
2010-05-28 03:30:11 +02:00
Marek Olšák
ebe2b54663
r300g: report vertex format support in is_format_supported
2010-05-28 03:30:11 +02:00
Marek Olšák
3262554bb3
r300g/swtcl: fix WPOS
...
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-28 03:30:11 +02:00
Marek Olšák
49244df5a8
r300g/swtcl: avoid an infinite loop if an occl. query doesn't return anything
2010-05-28 03:30:11 +02:00
Jerome Glisse
6a143b8424
r600g: disable rendering
...
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-27 23:24:26 +02:00
Bas Nieuwenhuizen
9e8a6f801d
r600g: various fixes
...
- 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-27 23:24:22 +02:00
Jerome Glisse
e68b4e5053
r600g: fix driver + shader compiler backend change
...
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-27 23:24:17 +02:00
Jakob Bornecrantz
aeee52691c
r600g: Integrate into build
...
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27 23:24:12 +02:00
Jakob Bornecrantz
9abfc5ef60
r600g: Fix buffer offsets
...
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-27 23:24:07 +02:00
Marek Olšák
b8fb1d75ce
r600g: adapt to latest interfaces changes
...
- 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-27 23:24:02 +02:00
Jerome Glisse
72128962d6
r600g: Initial import
2010-05-27 23:23:56 +02:00
Brian Paul
3d41dd7934
llvmpipe: s/bool/boolean/
2010-05-27 14:55:58 -06:00
Brian Paul
bd024ce2b1
llvmpipe: s/bool/boolean
2010-05-27 14:54:21 -06:00
Brian Paul
0faefb194e
sw/xlib: avoid dereferencing a null pointer
2010-05-27 13:40:16 -06:00
Brian Paul
c3b62bc86c
gallivm: add assertions to check type of phi variables
2010-05-27 13:40:16 -06:00
Marek Olšák
90e5a37d12
r300g/swtcl: fix secondary color and back-face color outputs
...
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-27 20:56:32 +02:00
José Fonseca
8bd3a4c1aa
llvmpipe: Refer to my personal udis86 repository.
...
As it has a bunch of fixes/additions not merged by upstream yet.
2010-05-27 19:40:10 +01:00
José Fonseca
571ee049f2
util: Also add a define for the dynamic library's prefix.
2010-05-27 19:37:56 +01:00
Brian Paul
057f7e8140
egl/mks: remove extra param from function call
2010-05-27 12:04:43 -06:00
Brian Paul
462bccef4f
egl_g3d: add missing param to egl_g3d_st_manager_get_egl_image()
2010-05-27 12:04:08 -06:00
Marek Olšák
76034aaf65
r300g: decouple drawing code and two-sided stencil refvalue fallback
...
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-27 00:08:42 +02:00
Marek Olšák
1345c5bf94
r300g/swtcl: handle large index count properly
...
This fixes piglit/draw-elements.
2010-05-26 22:39:19 +02:00
Marek Olšák
3a6fd21917
r300g/swtcl: force vertex prefetching for non-indexed primitives
2010-05-26 22:22:52 +02:00