Michal Krol
1e9d3ad4e1
vbo: Fix build on windows.
2009-07-30 10:31:57 +02:00
Michal Krol
b724dd28e2
tgsi: Document LOOP/ENDLOOP instruction operation.
2009-07-30 10:14:17 +02:00
Xiang, Haihao
3e2b6a2049
i965: Postpone ff_sync message in CLIP kernel on IGDNG
...
In addition, it guarantees ff_sync message is issued
2009-07-30 15:40:08 +08:00
Alex Deucher
0fdac3529c
r600: fix mipmaps
...
redbook mipmap works
2009-07-30 03:31:37 -04:00
Eric Anholt
246729162c
i915: Add support for EXT_stencil_two_side and ATI_separate_stencil.
...
Passes tests/stencil_twoside and glean/stencil2.
2009-07-29 21:25:39 -07:00
Eric Anholt
92b9aa1646
i915: Add ARB_point_sprite since we already expose NV_point_sprite.
...
It's all fallbacks anyway due to the DD_POINT_ATTEN fallback.
2009-07-29 20:56:14 -07:00
Brian Paul
b9889517f5
gallium: fix SSE shadow texture instructions
...
When sampling a 2D shadow map we need 3 texcoord components, not 2.
The third component (distance from light source) is compared against
the texture sample to return the result (visible vs. occluded).
Also, enable proper handling of TGSI_TEXTURE_SHADOW targets in Mesa->TGSI
translation. There's a possibility for breakage in gallium drivers if
they fail to handle the TGSI_TEXTURE_SHADOW1D / TGSI_TEXTURE_SHADOW2D /
TGSI_TEXTURE_SHADOWRECT texture targets for TGSI_OPCODE_TEX/TXP instructions,
but that should be easy to fix.
With these changes, progs/demos/shadowtex.c renders properly again with
softpipe.
2009-07-29 16:33:58 -06:00
Alex Deucher
9c4c9f2837
r600: remove extraneous semicolon
2009-07-29 18:12:33 -04:00
Alex Deucher
b116f57bac
r600: fix texture pitch alignment
...
fixes texwrap
2009-07-29 18:06:20 -04:00
Alex Deucher
1e207ba9c1
r600: minor fixes
...
- set MAX_LOD properly
- min texel pitch is 8 texels
- emit old command buffer when re-initing base state
2009-07-29 17:25:56 -04:00
Nicolai Hähnle
0723cd1b0a
r300: Cleanup r300_fragment_program_code
...
Configuration register values are now stored directly in that structure.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-29 21:15:00 +02:00
Nicolai Hähnle
d3a1fc62f4
r300/compiler: Adapt AllocateHwInputs interface to common usage pattern
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-29 21:15:00 +02:00
Eric Anholt
88ebf514a4
swrast: enable ARB_vertex_array_object.
...
It was getting enabled anyway but without the entrypoints installed. Whoops.
2009-07-29 11:17:53 -07:00
Cooper Yuan
03607708b0
r600: emit fog color in PS input map, fix fog related applications
2009-07-29 15:31:41 +08:00
Cooper Yuan
0f6d3aece7
R6xx/r7xx: VS export fog color as parameter
2009-07-29 15:23:56 +08: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
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
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
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