Michal Krol
47c18b35b0
softpipe: Use p_atomic_read, not atomic_read.
2009-03-16 12:22:50 +01:00
Thomas Hellstrom
cf25ef9072
gallium: Use struct pipe_atomic for pipe refcounts.
...
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-16 11:40:47 +01:00
Thomas Hellstrom
fc1ef97c33
gallium: Add simple atomic class api.
...
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-16 11:40:18 +01:00
Michal Krol
1f3fe40554
tgsi: Begin documenting NV_gpu_program4 instruction set operations.
2009-03-16 10:24:16 +01:00
Michal Krol
bf3759e0d4
tgsi: Document NV_vertex_program3 instruction set operations.`
2009-03-16 10:04:51 +01:00
Michal Krol
ad908465f1
wgl: Port glthreads to WGL.
2009-03-16 09:45:23 +01:00
Michal Krol
9ba52e1268
mesa: Silence compiler warnings.
2009-03-16 09:13:29 +01:00
Corbin Simpson
877aaad06d
r300-gallium: r500-fs: Actually handle consts and imms correctly.
...
This makes mad.txt draw correctly. Yay!
2009-03-16 00:31:54 -07:00
Corbin Simpson
5bc4562849
r300-gallium: Emit constants as floats, not uints.
2009-03-16 00:31:54 -07:00
michal
97e4caa33a
python: Include missing `p_compiler.h' header.
2009-03-16 08:18:10 +01:00
michal
5494251890
python: Do not pass shader_state to util shader functions.
2009-03-16 08:18:06 +01:00
michal
38b074495a
python: Use transfer objects to initialise texture data.
2009-03-16 08:18:03 +01:00
michal
f6c3edb308
python: Use new bypass_vs_clip_and_viewport rasteriser flag.
2009-03-16 08:17:59 +01:00
Corbin Simpson
f197a8b916
r300-gallium: Fix vertex memory offsets.
...
Wow, I must have been asleep when I made that mistake.
2009-03-15 23:42:42 -07:00
Corbin Simpson
4f5678c1eb
radeon-gallium: Add my R580 to the xorg PCI ID list.
...
At some point, going to have to grab the big list from xf86-video-ati.
2009-03-15 23:07:31 -07:00
Corbin Simpson
44adea1a09
r300-gallium: r500-fs: Setup immediates.
...
Textures still not working. RS block shenanigans expected.
2009-03-15 23:07:31 -07:00
Corbin Simpson
1e56bb890b
dri2-gallium: Add occlusion query support at the state tracker level.
2009-03-15 23:07:31 -07:00
Corbin Simpson
7c204c9753
r300-gallium: Actually set stride when creating textures.
...
Duh.
2009-03-15 23:07:31 -07:00
Corbin Simpson
61c65a6c7e
r300-gallium: r500-fs: Add writemasks and some flexibility for MOV/SWZ.
2009-03-15 23:07:30 -07:00
Corbin Simpson
c5742cab19
r300-gallium: Always rasterize at least one color.
2009-03-15 23:07:30 -07:00
Corbin Simpson
954a9fadad
r300-gallium: Fix spacing.
...
It was driving me crazy.
2009-03-15 23:07:30 -07:00
Michal Krol
8ae04f3c46
vbo: Silence integer-to-pointer warnings.
2009-03-15 10:23:15 +01:00
Younes Manton
474399ddd6
mesa: .gitignore
2009-03-14 20:20:56 -04:00
Younes Manton
8b45de9aa1
nouveau: bypass_vs_clip_and_viewport
2009-03-14 20:19:47 -04:00
Keith Whitwell
683e7091a9
gallium: consolidate bypass_vs and bypass_clipping flags
...
The draw module provides a similar interface to the driver which
is retained as various bits of hardware may be able to take on
incremental parts of the vertex pipeline. However, there's no
need to advertise all this complexity to the state tracker.
There are basically two modes now - normal and passthrough/screen-coords.
2009-03-13 16:42:57 +00:00
Keith Whitwell
fa0f48504a
gallium: no need to keep a copy of shader tokens in state tracker
...
Any driver who needs a copy of the shader tokens must organize to
do so itself. This has been the case for a long time, but there
was still defensive code in the state tracker, which is now removed.
Any bugs resulting from this need to be fixed in the offending driver...
2009-03-13 16:24:22 +00:00
Keith Whitwell
b3be1651f4
mesa/st: add check for null front renderbuffer
...
Not sure if this indicates a problem elsewhere, but without this check
trivial/tri-fbo.c segfaults on resize. With the patch, it renders
correctly.
2009-03-13 15:53:48 +00:00
Keith Whitwell
af34fa316d
mesa/st: don't call finish in st_glFlush()
...
It is not the state tracker's responsibilty to inject sleeps and
pessimize performance in the hope of avoiding buffer synchronization
issues in buggy drivers.
Calling finish() here will just hide problems that need to be fixed
elsewhere.
2009-03-13 15:53:48 +00:00
Brian Paul
7d6478cfcc
i965: more register number assertions
2009-03-13 09:23:44 -06:00
Brian Paul
a10ec13143
i965: add some register number assertions
...
Haven't seen failures yet, but if/when there are, more investigation will
be done.
2009-03-13 09:23:43 -06:00
Brian Paul
2cf296186e
i965: remove unused PROGRAM_INTERNAL_PARAM, added comment
2009-03-13 09:23:43 -06:00
Brian Paul
24d4ee98d4
i965: move declarations before code
2009-03-13 09:23:43 -06:00
Brian Paul
460ee86d60
i965: debug code, use gl_register_file type
2009-03-13 09:23:43 -06:00
Brian Paul
4eda17d192
mesa: glUseProgram() debug code (disabled)
2009-03-13 09:23:43 -06:00
Jakob Bornecrantz
d5d5b27224
trace: Fix some typos
2009-03-13 05:40:10 +01:00
Brian Paul
583d293734
mesa: improve another _mesa_problem() call
2009-03-13 08:46:03 -06:00
Brian Paul
ccad1e4528
mesa: add GL_DUDV_ATI cases in calculate_derived_texenv()
2009-03-13 08:46:03 -06:00
Brian Paul
fcb0d8968d
mesa: more info in _mesa_problem() call
2009-03-13 08:46:03 -06:00
Brian Paul
4681a1d1ee
mesa: added 1D/3D fetch_texel functions for DUDV8
2009-03-13 08:46:03 -06:00
Thomas Hellstrom
8132405d52
xdemos: Add multithreaded sharedtex_mt.
...
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-13 15:06:54 +01:00
Keith Whitwell
48012157ba
vp: add test for pointsize output
2009-03-13 11:57:15 +00:00
José Fonseca
f22574be95
scons: Use -Wdeclaration-after-statement
2009-03-13 11:48:14 +00:00
José Fonseca
188a3334f8
progs: Add util to cpp path.
2009-03-13 11:48:13 +00:00
Keith Whitwell
dbc3e8e93f
progs/vp: add keys for point prims, etc, and various new tests
2009-03-13 11:32:32 +00:00
Jakob Bornecrantz
f500f3a72c
gallium: Remove do_flip argument from surface_copy
...
I should have gotten most uses and implementation
correctly fixed, but things might break.
Feel free to blame me.
2009-03-13 01:38:20 +01:00
Brian Paul
f786e46cf4
mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format()
...
This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI.
2009-03-12 19:42:14 -06:00
Brian Paul
1826ff3fb3
mesa: override_internal_format() function for debug/test purposes (disabled)
2009-03-12 18:25:09 -06:00
Brian Paul
8a8919a7dd
mesa: improve some error messages
2009-03-12 18:25:09 -06:00
Brian Paul
3b946cde45
i965: move declaration before code
2009-03-12 18:25:09 -06:00
Brian Paul
dbc9a1d33b
i965: fix const correctness
2009-03-12 18:25:09 -06:00