Commit graph

22853 commits

Author SHA1 Message Date
Younes Manton
6fca18696d g3dvl: Update XvMC unit tests. 2008-09-17 22:00:37 -04:00
Brian Paul
a06d38a74e gallium: fix wide point / point coord semantic info (generic, not fog) 2008-09-17 16:51:53 -06:00
Brian Paul
4ee8d1ad67 gallium: fix fog vs. pointcoord attribute handling in mesa->TGSI conversion 2008-09-17 16:49:26 -06:00
Brian Paul
d7a7b0a10d mesa: new gl_fragment_program fields indicating use of fog, front-facing, point coord 2008-09-17 16:48:13 -06:00
Brian Paul
3b3d34d637 egl: print multisample info 2008-09-17 15:29:59 -06:00
Brian Paul
1a820f52f6 gallium: clean-up/fix msaa override in state tracker 2008-09-17 14:32:33 -06:00
Brian Paul
e6a120fefe gallium: fix tgsi sanity checker with respect to END.
Subroutine code may be found after the END instruction so it's not always
the last instruction.
At least check for presence of exactly one END instruction though.
2008-09-17 13:14:57 -06:00
Brian Paul
133693ebe8 mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs() 2008-09-17 13:13:02 -06:00
Brian Paul
095ca0acd8 gallium: include prog_print.h to silence warning 2008-09-17 10:25:18 -06:00
Brian Paul
66682651b6 gallium: need to finish, not flush, in st_copy_texsubimage() 2008-09-17 10:23:00 -06:00
Brian Paul
63b915d743 gallium: new assertion on surface->texture 2008-09-17 10:23:00 -06:00
Jakob Bornecrantz
ec8398d62f tgsi: Add a ugly fix for CONSTANT problems 2008-09-17 18:13:17 +02:00
Jakob Bornecrantz
f8a5cb8cb2 tgsi: More debug printing on sanity check error 2008-09-17 18:13:17 +02:00
Brian Paul
f10e7f0d28 gallium: fix lack of surface reference counting in cso_set/save/restore_framebuffer()
Fixes asst problems with FBO / render to texture.
2008-09-17 09:47:51 -06:00
Brian Paul
5e530d8384 mesa: fix bug in previous changes to _slang_resolve_attributes() 2008-09-17 09:13:55 -06:00
Brian Paul
0d20c88f62 mesa: fix bug in previous changes to _slang_resolve_attributes() 2008-09-17 09:05:04 -06:00
Brian Paul
f631093ce7 cell: example of doing fs/fm sequence with fnms in blending 2008-09-17 08:17:02 -06:00
Brian Paul
05aeb92a09 cell: dump generated code if CELL_DEBUG=asm 2008-09-17 08:14:09 -06:00
Robert Ellison
858ced0515 CELL: fleshing out the blending fragment ops
- Added two new debug flags (to be used with the CELL_DEBUG environment
  variable).  The first, "CELL_DEBUG=fragops", activates SPE fragment
  ops debug messages.  The second, "CELL_DEBUG=fragopfallback", will
  eventually be used to disable the use of generated SPE code for
  fragment ops in favor of the default fallback reference routine.
  (During development, though, the parity of this flag is reversed:
  all users will get the reference code *unless* CELL_DEBUG=fragopfallback
  is set.  This will prevent hiccups in code generation from affecting
  the other developers.)

- Formalized debug message usage and macros in spu/spu_main.c.

- Added lots of new code to ppu/cell_gen_fragment.c to extend the
  number of supported source RGB factors from 4 to 15, and to
  complete the list of supported blend equations.

More coming, to complete the source and destination RGB and alpha
factors, and to complete the rest of the fragment operations...
2008-09-17 02:32:43 -06:00
Eric Anholt
904f31a624 intel: Destroy bufmgr in screen destroy, not context.
Caused server crashes on second context creation since
7e0bbdcf03.

Bug #17600.
2008-09-16 17:02:41 -07:00
Brian Paul
27341a97a1 mesa: rework GLSL vertex attribute binding
Calls to glBindAttribLocation() should not take effect until the next time
that glLinkProgram() is called.
gl_shader_program::Attributes now just contains user-defined bindings.
gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
2008-09-16 16:28:36 -06:00
Jonathan White
a3a797ffa8 cell: Added RCP and RSQ instruction support. 2008-09-16 16:00:42 -06:00
Brian Paul
e53296c928 mesa: rework GLSL vertex attribute binding
Calls to glBindAttribLocation() should not take effect until the next time
that glLinkProgram() is called.
gl_shader_program::Attributes now just contains user-defined bindings.
gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
2008-09-16 15:50:44 -06:00
Jonathan White
fbbaad14a6 cell: Added DP3 and DP4 instructions 2008-09-16 13:57:29 -06:00
Brian Paul
37607aeaf8 gallium: fix glTexImage(width=height=depth=0) case
Free old teximage/level data, then stop.
2008-09-16 13:38:10 -06:00
Brian Paul
39cb5b9f73 mesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList()) 2008-09-16 13:31:48 -06:00
Brian Paul
d43951192b mesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList()) 2008-09-16 13:23:01 -06:00
Brian Paul
8cdab20c9a gallium: fix info entries for KIL, KILP
KIL takes 1 src register.  KILP uses no registers (uses cond codes).
2008-09-16 12:52:19 -06:00
Michal Krol
2010cd7810 st: hash-warning not recognised on Windows. 2008-09-16 19:28:16 +02:00
Jonathan White
dd75ca89eb cell: Optimized LERP with fma
Please enter the commit message for your changes.
2008-09-16 09:42:28 -06:00
Jonathan White
2c54a6ee79 cell: Fixed MIN/MAX algorithm 2008-09-16 09:36:47 -06:00
Brian Paul
ea9568dfbe mesa: fix bug in get_uniform_rows_cols(): sometimes returned too many rows 2008-09-16 08:55:54 -06:00
Brian Paul
753635f733 gallium: move _vbo_DestroyContext() call
Call it before freeing core Mesa state to avoid references to freed buffer objects.
2008-09-16 08:51:56 -06:00
Brian Paul
4992806ae5 mesa: protect against double-free in _vbo_DestroyContext() 2008-09-16 08:51:56 -06:00
Jakob Bornecrantz
358aab12c6 mesa: State tracker now checks for faulty shaders on debug 2008-09-16 16:20:19 +02:00
Jakob Bornecrantz
ad16ecbbe4 tgsi: Make tgsi_sanity.c compile with make 2008-09-16 16:20:19 +02:00
José Fonseca
eef2edadf3 trace: Fix typo in build instructions. 2008-09-16 20:24:43 +09:00
Brian Paul
32250eb959 cell: export CELL_DEBUG=asm to dump SPU assembly code 2008-09-15 19:40:02 -06:00
Brian Paul
9d48a7832b mesa: fix MSAA enable state in update_multisample() 2008-09-15 17:14:53 -06:00
Brian Paul
b1f5fbe1cb mesa: fix MSAA enable state in update_multisample() 2008-09-15 17:10:04 -06:00
Jonathan White
e67374b6b2 cell: Added LERP instruction 2008-09-15 15:46:04 -06:00
Brian Paul
ae3373441d gallium: emit SPU instructions in assembler-compatible syntax 2008-09-15 15:10:02 -06:00
Jonathan White
81aa90e883 cell: Added support for SLT, SEQ and SNE instructions 2008-09-15 13:45:09 -06:00
Jonathan White
0a75773fed cell: Added support for ABS instruction 2008-09-15 12:27:10 -06:00
Jonathan White
5a4ab148a7 Added support for SUB and MAD instructions 2008-09-15 11:58:00 -06:00
Jonathan White
367774a62a Fixed emit_RRR 2008-09-15 11:57:59 -06:00
Jakob Bornecrantz
4c9cd725d5 i915simple: dri winsys does now compile and works
Glxgears hits an assert, but tri works
2008-09-15 17:55:09 +02:00
Brian Paul
987c4b35b8 mesa: remove some assertions that are invalid during context tear-down 2008-09-15 09:18:59 -06:00
Keith Whitwell
cd23c5c599 mesa: get another class of degenerate dlists working
Primitive begin in one dlist, end in another.
2008-09-15 09:18:45 -06:00
Brian Paul
d36f4ef16b mesa: remove some assertions that are invalid during context tear-down 2008-09-15 09:07:32 -06:00