Commit graph

25883 commits

Author SHA1 Message Date
Cooper Yuan
0f6d3aece7 R6xx/r7xx: VS export fog color as parameter 2009-07-29 15:23:56 +08:00
Ian Romanick
648dac4251 ARB prog parser: Set component negation mask for SWZ instruction 2009-07-28 21:57:28 -07:00
Ian Romanick
86b33b5649 ARB prog parser: Set correct register file for OUTPUT variables 2009-07-28 21:56:42 -07:00
Ben Skeggs
693f900b16 nv50: support non-blocking query_result() 2009-07-29 11:19:52 +10:00
Ben Skeggs
625bc0cfa2 nouveau: map_range returning -EBUSY isn't necessarily an error 2009-07-29 10:58:05 +10:00
Christoph Bumiller
84166a021f nv50: correct zeta formats
What was Z24S8 before is actually S8Z24, and what we had for Z16
is actually X8Z24. Now, we also have the REAL Z24S8 and I added
Z32_FLOAT as well; most of the formats need different tile_flags.
2009-07-29 09:40:35 +10:00
Christoph Bumiller
987c59c486 nv50: use new 2D surface format names 2009-07-29 09:40:35 +10:00
Christoph Bumiller
1f17b8ff59 nv50: support more vtxelt formats
NOTE: we must not try to emit buffer relocations when
vtxbuf_nr is 0 but vtxelt_nr is not
2009-07-29 09:40:35 +10:00
Christoph Bumiller
72813ba5b6 nv50: should use uint32_t ptr in draw_elements_inline_u32 2009-07-29 09:40:34 +10:00
Christoph Bumiller
df189c9efc nv50: TIC/TSC fixes and additions
Red and blue were interchanged in TIC.
Add border color and some formats.
2009-07-29 09:40:34 +10:00
Christoph Bumiller
f498ccd654 nv50: fix sx/dx typo in transfer_rect_m2mf 2009-07-29 09:40:34 +10:00
Christoph Bumiller
d1b9183e64 nv50: fix viewport transform
The translation also needs to be inverted, and in bypass mode
the state tracker incorrectly assumes that Y = 0 = TOP, so we
need inversion there to; NDC clipping has to be deactivated
explicitly.
2009-07-29 09:40:34 +10:00
Christoph Bumiller
b0341f994f nv50: use correct scissor reg 2009-07-29 09:40:33 +10:00
Alex Deucher
8c56029b1e r600: fix tex clamp modes
This makes texwrap look better.
2009-07-28 18:09:38 -04:00
Alex Deucher
e629c50e2b r600: implement texture border color 2009-07-28 17:59:54 -04:00
Alex Deucher
719abd7fc0 r600: fix flat shading
Set the flat shading bit on the appropriate PS input
depending on the type of attribute it is.  The VS output
and PS input routing should probably be made more dynamic
at some point.  We may want to use semantic ids to make
it easier.
2009-07-28 16:58:41 -04:00
Alex Deucher
dbdb3952c1 r600: don't call r700UpdateShaders twice for each render 2009-07-28 15:58:01 -04:00
Alex Deucher
b1f7c844a3 r600: move r700TranslateFragmentShader into r700UpdateShaders 2009-07-28 15:53:45 -04:00
RALOVICH, Kristóf
45f4e8842e glx: assign per screen driver configs (DRISW) 2009-07-28 10:35:56 -06:00
RALOVICH, Kristóf
d090ba9e00 glx: assign per screen driver configs (DRI) 2009-07-28 10:35:56 -06:00
RALOVICH, Kristóf
82f4dc21cc glx: assign per screen driver configs (DRI2) 2009-07-28 10:35:56 -06:00
RALOVICH, Kristóf
e32b601e7d glx: properly release DRI configs
Release per screen DRI driver configs during screen destruction.
2009-07-28 10:35:56 -06:00
RALOVICH, Kristóf
ce0ad53281 glx: cache DRI configs in __GLXscreenConfigsRec 2009-07-28 10:35:56 -06:00
Alex Deucher
4d648523aa r600: disable flat shade fix in 506bacb8e4
This breaks textures.  We need to only set this bit for
attributes that that need flat shading.
2009-07-28 11:12:36 -04:00
Brian Paul
d2f6d6ce49 Merge branch 'mesa_7_5_branch'
Conflicts:

	Makefile
	configs/default
	docs/relnotes.html
	src/mesa/main/version.h
2009-07-28 08:58:25 -06:00
Brian Paul
94726bc69e gallium: minor code/comments clean-up 2009-07-28 08:55:43 -06:00
Chia-I Wu
a744a496d5 egl: Comment out unused tables in_eglFillInConfigs
This silences a compiler warning.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-28 08:55:43 -06:00
Vinson Lee
bc60b88411 progs/trivial: add missing files to Makefile, .gitignore 2009-07-28 08:54:48 -06:00
Cooper Yuan
506bacb8e4 R6xx/r7xx: enable flat shading, this can fix quadric/accanti/accpersp 2009-07-28 13:57:07 +08:00
Ian Romanick
aafd576259 ARB prog parser: Add support for GL_MESA_texture_array
This isn't really tested yet as no drivers actually support this extension.
2009-07-27 17:22:21 -07:00
Ian Romanick
41d5696628 ARB prog parser: More robust error message for bad OPTION string 2009-07-27 17:10:01 -07:00
Ian Romanick
1edd13bf23 ARB prog parser: Add support for GL_ARB_fragment_program_shadow
Passes the piglit asmparsertest shadow-0[123].txt tests and
progs/demos/shadowtex.
2009-07-27 16:24:49 -07:00
Ian Romanick
88018e2e07 ARB prog parser: Fix handling of RECT
Require that GL_{ARB,EXT,NV}_texture_rectangle be supported before
allowing use of RECT texture target.
2009-07-27 15:47:52 -07:00
Ian Romanick
4821099429 ARB prog: Fix parameters to _mesa_calloc
So totally awesome that _mesa_calloc has a different parameter
signature than calloc.  Why do these libc wrappers still exist?!?
2009-07-27 15:46:07 -07:00
Alex Deucher
fcf317ac16 r600: fix _REV texture format component swizzles 2009-07-27 18:14:45 -04:00
Brian Paul
6c03563af7 mesa: regenerated file 2009-07-27 15:42:29 -06:00
RALOVICH, Kristóf
8363dff251 glx: remove XTHREADS support 2009-07-27 15:38:04 -06:00
RALOVICH, Kristóf
27e55588e0 docs: do not mentions xthreads any more 2009-07-27 15:38:04 -06:00
RALOVICH, Kristóf
bdb8ee5186 glapi: regenerated GL API assembly files 2009-07-27 15:38:04 -06:00
RALOVICH, Kristóf
8f397bffa8 glapi: remove XTHREADS support 2009-07-27 15:38:04 -06:00
Brian Paul
3dbaf68bdc intel: Fix leak of DRI option info due to using the wrong free routine.
(cherry picked from commit 6d66f23c50)
2009-07-27 15:33:07 -06:00
Brian Paul
722d136f7b intel: Clean up leak of driver context structure on context destroy.
(cherry picked from commit ddef7dc87b)
2009-07-27 15:33:07 -06:00
Ian Romanick
054ab5a50a ARB prog parser: Correct handling of some extensions that interact w/ARB_vp 2009-07-27 14:18:40 -07:00
Brian Paul
a7427b0f7b st/mesa: silence warning 2009-07-27 15:10:28 -06:00
Brian Paul
0ad9eba333 mesa: separate some finite/pragma Watcom stuff 2009-07-27 15:10:00 -06:00
Brian Paul
7e2f26cbbf softpipe: include sp_winsys.h to silence function prototype warning 2009-07-27 15:08:44 -06:00
Nicolai Hähnle
3ccf89d584 r300/compiler: Make calculate_inputs_outputs available to external users
In the long run, it's probably better to just get rid of InputsRead and
OutputsWritten.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27 22:51:40 +02:00
Nicolai Hähnle
59fff53492 r300/compiler: Add vertex program code dumper from Gallium driver 2009-07-27 22:51:39 +02:00
Nicolai Hähnle
6bc0e1054a r300/compiler: Prepare for hookup to Gallium 2009-07-27 22:51:39 +02:00
Nicolai Hähnle
e82a50a6a1 r300/fragprog: Move wpos_attr and fog_attr where they belong
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27 22:51:39 +02:00