Corbin Simpson
06e464c2d5
r300g: Clean up duplicate code in r300_render.
2009-10-22 11:50:51 -07:00
Corbin Simpson
1f7f9bab81
r300g: Move render functions to r300_render.
...
Part of the fastpath cleanup.
2009-10-22 11:50:51 -07:00
José Fonseca
719984afca
llvmpipe: Avoid yet another variable size array.
2009-10-22 19:12:14 +01:00
José Fonseca
ba8c11923a
llvmpipe: Define rdtsc for MSVC.
2009-10-22 19:12:14 +01:00
José Fonseca
9aafa1fbd2
llvmpipe: Avoid variable size arrays.
...
Not really variable size, but MSVC still doesn't like them.
2009-10-22 19:12:14 +01:00
José Fonseca
01b85e2923
llvmpipe: Use the pack/unpack functions for 8bit unsigned norm multiplication.
2009-10-22 19:12:13 +01:00
José Fonseca
4458695bda
llvmpipe: Utility function to double the bit width of a type.
2009-10-22 19:12:13 +01:00
José Fonseca
421507de06
llvmpipe: Factor vector packing/unpacking to a separate source file.
...
These functions will be needed to implement many of the 8bit operations,
and they are quite complex on its own.
2009-10-22 19:12:13 +01:00
José Fonseca
a07437f8a6
llvmpipe: Call util_cpu_detect() from the unit tests.
2009-10-22 19:12:13 +01:00
Alex Deucher
5e77b61e39
Merge branch 'mesa_7_6_branch' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa
2009-10-22 12:02:31 -04:00
Ben Skeggs
eebf4b5299
nv50: support 3D class 0x8597, remove redundant unknown chipset detection
2009-10-22 21:56:32 +10:00
Corbin Simpson
511bd5f32b
r300g: Check for NULL Draw during flush.
...
Split from the fastpath WIP.
2009-10-22 00:21:08 -07:00
Corbin Simpson
0a8cd4862c
r300g: Update comments, function names in r300_state_inlines.
2009-10-21 23:26:02 -07:00
Corbin Simpson
034db65f08
r300g: Update comments, asserts, indents in r300_texture.
...
I wish I knew enough about textures to really really REALLY fix that file.
2009-10-21 23:23:37 -07:00
Corbin Simpson
5a653ada41
r300g: Remove unused debug flag.
2009-10-21 22:54:52 -07:00
Corbin Simpson
40247d87d2
r300g: Cleanup old static shader state.
2009-10-21 22:53:37 -07:00
Patrice Mandin
d364f662c6
nouveau: nv30: Do not use assert to return NULL
2009-10-21 22:01:03 +02:00
Patrice Mandin
cb351bdd6e
nouveau: nv30: check number of colour buffers to bind
2009-10-21 21:56:09 +02:00
José Fonseca
ce98860012
llvmpipe: Remove extraneous name in lp_type pre-declaration.
2009-10-21 15:53:37 +01:00
Corbin Simpson
3b8dad47f8
r300g: No debug in r300_state.
2009-10-21 06:52:25 -07:00
Corbin Simpson
6a448a525b
r300g: Cleanup header includes.
2009-10-21 06:52:25 -07:00
Corbin Simpson
babadb8bb9
r300g: Don't use getenv; use debug_get_*_option instead.
2009-10-21 06:52:24 -07:00
Corbin Simpson
5a0598f235
r300g: Don't use the hashtable internally.
...
As osiris pointed out, glxgears slowly gets slower for some reason
when it's enabled, and it's not helping at the moment, so just turn
it off.
2009-10-21 06:52:24 -07:00
Corbin Simpson
b589e39809
r300g: Examine vertex attribute type on HW TCL too.
2009-10-21 06:52:23 -07:00
Corbin Simpson
b21df2620e
r300g: Also kill r300_shader_inlines with fire.
2009-10-21 06:52:23 -07:00
Corbin Simpson
58abfebaad
r300g: Kill r300_surface with fire.
...
If you really want to see it again, check the history.
2009-10-21 06:52:22 -07:00
Marc Dietrich
4b2cf92ad9
cell: fix compilation on cell
...
s/LERP/LRP/
2009-10-20 11:17:12 -06:00
Jakob Bornecrantz
fc07ca004a
trace: Check for destroy before calling it
2009-10-20 17:19:05 +02:00
Corbin Simpson
e5f1f6a0be
r300g: Demonstratory kludge to unbreak glxgears.
...
We *must* recalculate something in vformat every rebind; let's see
if we can't narrow it down a bit.
2009-10-19 14:43:33 -07:00
Christoph Bumiller
ec5c23551c
nv50: add support for address regs
...
Allow indirect uniform access and increase the
limit on parameters from 128 to 512.
2009-10-19 18:25:09 +02:00
Christoph Bumiller
eb7ea97e7f
nv50: cleanup emit_kil
2009-10-19 18:25:09 +02:00
Christoph Bumiller
2eef2017ac
nv50: implement TGSI_OPCODE_CMP
2009-10-19 18:25:09 +02:00
Christoph Bumiller
f204eb1842
nv50: quick fix for insn src negation
...
We only have a per nv50_reg negation flag, if an
nv50_reg is used more than once in a TGSI op with
different sign modes, we'd generate wrong code.
We probably can't do much better without more
invasive changes.
2009-10-19 18:25:09 +02:00
Christoph Bumiller
1635e8d6f4
nv50: add support for DDX and DDY opcodes
2009-10-19 18:25:09 +02:00
Christoph Bumiller
c0e80cf0e9
nv50: submit user vbo data through the fifo
...
Requesting a new real buffer from the kernel and
copying all the data is wasteful e.g. if only a
few (but widely spread) vertices are accessed.
2009-10-19 18:25:08 +02:00
Christoph Bumiller
fba2eabe13
nv50: use SIFC for TIC, TSC upload
...
Add proper flushes for TIC and TSC and remove
the costly 2D.0110 flush in nv50_flush.
Correct TIC and TSC bo sizes.
2009-10-19 18:25:08 +02:00
Christoph Bumiller
6ab2fcca9d
nv50: nicer texture format switch
...
Similar to nv40.
2009-10-19 18:25:08 +02:00
Ben Skeggs
35b98e2884
nouveau: implement is_{texture,buffer}_referenced properly
2009-10-19 09:49:02 +10:00
Ben Skeggs
869d3eea37
drm/nv50: write tic/tsc setup to correct slots when skipping units
2009-10-19 09:49:02 +10:00
Corbin Simpson
16a06fea73
r300g: Fix up a bunch of warnings.
2009-10-18 16:09:01 -07:00
Corbin Simpson
d2e29b502e
r300g: Add another ZTOP condition.
...
I don't even know if texkill works right now.
2009-10-18 10:30:18 -07:00
José Fonseca
838da1d4ae
llvmpipe: Allocate texture storage for whole quads.
2009-10-18 14:31:58 +01:00
Corbin Simpson
bb567357bc
gallium: Permit surface_copy and surface_fill to be NULL.
...
Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc.
please make sure you are not broken, and fix yourself up if you are.
There were only two or three places where the code did not have painful
fallbacks, so I would advise st maintainers to find less painful workarounds,
or consider overhauling util_surface_copy and util_surface_fill.
Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is.
I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
2009-10-17 21:32:56 -07:00
Corbin Simpson
bfd877e470
r300g: Squash format warning.
...
Won't ever be supported.
2009-10-17 20:53:19 -07:00
Corbin Simpson
11056ca86f
r300g: Use a dirty test to bring framerate back up.
...
This is just split out from the next commit, that's all.
2009-10-17 20:47:45 -07:00
Corbin Simpson
51173e4e53
r300g: Also have rs_block keyed to the current shader combo.
...
Eliminates part of the glxgears corruption here. Need to clean up PSC more,
to get rid of the rest of it.
2009-10-17 20:29:27 -07:00
Corbin Simpson
ce9ae4a483
r300g: Fix u_hash_table rename.
2009-10-17 20:05:23 -07:00
Patrice Mandin
114417a2f5
nouveau: nv40: Use same workaround as i915 for segfault related to vbo
2009-10-17 20:49:18 +02:00
Patrice Mandin
66aab9a1f6
nouveau: nv30: Remove duplicate case. Was a typo for X8R8G8B8, but that will never be use for front buffer.
2009-10-17 20:46:19 +02:00
Patrice Mandin
67356ae047
nouveau: nv30: Use same workaround as i915 for segfault related to vbo
2009-10-17 20:27:24 +02:00