Jerome Glisse
fab804bdfe
r600g: fix occlusion query on evergreen (avoid lockup)
...
Occlusion query on evergreen need the event index field to be
set otherwise we endup locking up the GPU.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-19 11:53:01 -05:00
José Fonseca
3dcc3153b0
scons: Use inline wrap helpers more consistently.
2010-11-18 13:02:36 +00:00
Dave Airlie
185d862cd8
gallium/noop: report GL 2.1
...
this should at least make app use the same paths as they would for a real
driver.
2010-11-18 18:11:27 +10:00
Chia-I Wu
997a2547d1
st/glx: Replace MESA_VERSION_STRING by xmesa_get_name.
...
xmesa_get_name returns the name of the st_api, which is the same as
MESA_VERSION_STRING.
2010-11-18 11:56:01 +08:00
Chia-I Wu
db1689c236
st/wgl: Use st_context_iface::share for DrvShareLists.
2010-11-18 11:56:01 +08:00
Chia-I Wu
4f38dcd974
gallium: Add st_context_iface::share to st_api.
...
It will be used to implement wglShareLists. Fill st_context_iface::copy
for glXCopyContext as well.
2010-11-18 11:56:00 +08:00
Chia-I Wu
28105471af
gallium: Add st_api::name.
...
It is the name of the rendering API. This field is informative.
2010-11-18 11:56:00 +08:00
Chia-I Wu
cc5c908d7d
st/vega: Do not wait NULL fences.
2010-11-18 11:56:00 +08:00
Alex Deucher
a23f25eba1
r600g: fix buffer alignment
...
This should fix the remaining buffer alignment issues in r600g.
2010-11-17 21:33:40 -05:00
Jakob Bornecrantz
e89e8a4347
gallium: Remove redundant sw and debug target helpers
2010-11-17 23:49:09 +00:00
Jakob Bornecrantz
b46340c740
graw: Use inline debug helper instead of non-inline version
2010-11-17 23:49:09 +00:00
Jakob Bornecrantz
c30656d8c2
libgl-xlib: Use inline debug helper instead of non-inline version
2010-11-17 23:49:08 +00:00
Jerome Glisse
7ffd4e976f
r600g: code cleanup (indent, trailing space, empty line ...)
...
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-17 17:22:08 -05:00
Marek Olšák
fb7ae06f59
r300g: print FS inputs uninitialized due to hardware limits to stderr
2010-11-17 19:01:12 +01:00
Henri Verbeet
6bbe637c13
r600g: Synchronize supported color formats between Evergreen and r600/r700.
2010-11-17 00:41:42 +01:00
Henri Verbeet
7d0f45563d
r600g: Swizzle vertex data only once.
...
Vertex data swizzles are already done in the vertex shader. Doing them twice
breaks BGRA vertex arrays for example.
2010-11-17 00:41:42 +01:00
Marek Olšák
b6e2c32626
r300g: remove the hack with OPCODE_RET
...
RET was interpreted as END, which was wrong. Instead, if a shader contains RET
in the main function, it will fail to compile with an error message
from now on.
The hack is from early days.
2010-11-16 22:39:27 +01:00
José Fonseca
4f84a3aa32
libgl-gdi: Allow to pick softpipe/llvmpipe on runtime.
2010-11-16 18:56:39 +00:00
Henri Verbeet
62fe9c4efc
r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well.
2010-11-15 22:20:12 +01:00
Henri Verbeet
aa3113ae20
r600g: Evergreen has two extra frac_bits for the sampler LOD state.
...
The (piglit) mipmap_limits test shows the issue very clearly.
2010-11-15 22:20:12 +01:00
Henri Verbeet
da8c877733
r600g: Cleanup the fenced_bo list in r600_context_fini().
2010-11-15 22:20:12 +01:00
Jerome Glisse
5da246944a
gallium/noop: no operation gallium driver
...
This driver is a fake swdri driver that perform no operations
beside allocation gallium structure and buffer for upper layer
usage.
It's purpose is to help profiling core mesa/gallium without
having pipe driver overhead hidding hot spot of core code.
scons file are likely inadequate i am unfamiliar with this
build system.
To use it simply rename is to swrast_dri.so and properly set
LIBGL_DRIVERS_PATH env variable.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-15 14:56:40 -05:00
Marek Olšák
9cf25b3d1c
r300g: return shader caps from Draw for SWTCL vertex shaders
2010-11-14 23:04:18 +01:00
Marek Olšák
ed7cb289b3
r300g: clean up redundancy in draw functions
2010-11-14 19:28:04 +01:00
Marek Olšák
7e2256688a
r300g: fix texture border color for all texture formats
...
This fixes 8 texwrap format tests.
The code should handle arbitrary formats now and is cleaner.
NOTE: This is a candidate for the 7.9 branch.
2010-11-13 16:43:20 +01:00
Marek Olšák
93edd15178
svga: fill out CAPs for indirect addressing
...
As per the ps_3_0 and vs_3_0 documentation.
The aL register in D3D9 is quite tricky to use, though.
2010-11-12 03:13:23 +01:00
Marek Olšák
5c7127c07c
r600g: fill out CAPs for indirect addressing
2010-11-12 03:13:23 +01:00
Marek Olšák
d279902b40
r300g: fill out CAPs for indirect addressing
...
To match shader model 2.0 (it's impossible to fully implement ARL
with shader model 3.0 relative addressing).
2010-11-12 03:13:22 +01:00
Marek Olšák
abe2c0d3b0
nvfx: fill out CAPs for indirect addressing
...
To match shader model 2.0.
2010-11-12 03:13:22 +01:00
Marek Olšák
3c6309e2f7
nv50: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
04bafb2b55
i965g: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
5bf7d668ac
i915g: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
53b7ec91ca
tgsi: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
cbfdf262cc
gallium: add CAPs for indirect addressing and lower it in st/mesa when needed
...
Required because ATI and NVIDIA DX9 GPUs do not support indirect addressing
of temps, inputs, outputs, and consts (FS-only) or the hw support is so
limited that we cannot use it.
This should make r300g and possibly nvfx more feature complete.
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-11-12 03:13:22 +01:00
Keith Whitwell
7fb16423cc
r600g: enforce minimum stride on render target texture images
...
Fixes piglit/fbo_readpixels since staging upload changes.
2010-11-11 16:20:24 +00:00
Keith Whitwell
8a3c181e9c
r600g: do not try to use staging resource for depth textures
...
Currently r600_resource_copy_region() will turn these copies into
transfers + memcpys, so to avoid recursion we must not turn those
transfers back into blits.
2010-11-11 15:43:31 +00:00
Keith Whitwell
6baad55f15
r600g: guard experimental s3tc code with R600_ENABLE_S3TC
2010-11-11 14:30:09 +00:00
Lucas Stach
089056a5f3
nvfx: fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORT
...
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-11 14:55:46 +01:00
Jakob Bornecrantz
0faa7ada84
libgl-xlib: Use sw helper instead of roll your own
2010-11-10 23:40:18 +00:00
Jakob Bornecrantz
89deebb1af
graw: Use inline sw helper instead of roll your own loader
2010-11-10 23:05:17 +00:00
Jakob Bornecrantz
d4c60575f8
galahad: Correct the name of the scons library
2010-11-10 23:05:17 +00:00
Jerome Glisse
8e0230a85c
r600g: allow driver to work without submitting cmd to GPU
...
For driver performance analysis it usefull to be able to
disable as much as possible the GPU interaction so that
one can profile the userspace only.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-10 16:49:50 -05:00
Zack Rusin
f623d0c1c2
gallivm: implement indirect addressing over inputs
...
Instead of messing with the callers simply copy our inputs into a
alloca array at the beginning of the function and then use it.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2010-11-10 13:00:35 -05:00
Marek Olšák
93c04749be
r300g: turn magic numbers into names in the hyperz code
2010-11-10 15:14:25 +01:00
Marek Olšák
1d28936dea
r300g: rename has_hyperz -> can_hyperz
2010-11-10 15:14:25 +01:00
Marek Olšák
88ddfc57e4
r300g: mention ATI in the renderer string
2010-11-10 15:14:25 +01:00
Keith Whitwell
9a04eca2f8
ws/r600: match bo_busy shared/fence logic in bo_wait
...
Fixes crash in piglit depthrange-clear.
2010-11-10 11:04:38 +00:00
José Fonseca
10740acf46
gallivm: Allocate TEMP/OUT arrays only once.
2010-11-09 20:36:28 +00:00
Zack Rusin
528c3cd241
gallivm: implement indirect addressing of the output registers
2010-11-09 20:36:28 +00:00
Vinson Lee
520140a6c9
winsys/xlib: Add cygwin to SConscript.
...
Fixes SCons NameError exception on Cygwin.
2010-11-09 12:31:11 -08:00