Commit Graph

16776 Commits

Author SHA1 Message Date
Pekka Paalanen f910371b37 Nouveau: copy nv30_vertprog.c to nv20.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-08 17:09:16 +02:00
Pekka Paalanen 0344b0e32e Nouveau: start nv20 by copying the nv10 tree.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-08 17:04:45 +02:00
Younes Manton 3354e668f0 g3dvl: Get rid of state tracker unit tests, stale and not useful atm. 2008-10-17 17:31:26 -04:00
Younes Manton e52630e296 g3dvl: Bad test, use proper picture height. 2008-10-17 17:31:26 -04:00
Patrice Mandin af59f767a0 nouveau: first draft of swizzle texture upload to vram 2008-10-07 21:47:45 +02:00
Younes Manton d008fb1786 g3dvl: Ignore client flush requests unless entire frame is buffered. 2008-10-04 13:12:09 -04:00
Younes Manton 111b8f6dd9 g3dvl: Bad semantic index in shader decl. 2008-10-04 13:12:09 -04:00
Patrice Mandin da85a94d99 nouveau: init scaled_image_from_memory object for swizzled surface upload 2008-09-21 14:12:04 +02:00
Patrice Mandin 70071484d9 nouveau: add flag for swizzled surface upload 2008-09-21 14:02:30 +02:00
Ben Skeggs ed0c308f39 nv50: use 3D engine clears, 2D engine doesn't understand zeta formats 2008-09-18 13:39:52 +10:00
Ben Skeggs 562b31195c nv50: hack surface alloc a bit for now 2008-09-18 13:15:55 +10:00
Ben Skeggs b1d8b6c4d9 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-09-18 13:14:36 +10:00
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 0d20c88f62 mesa: fix bug in previous changes to _slang_resolve_attributes() 2008-09-17 09:05:04 -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
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 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
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 b1f5fbe1cb mesa: fix MSAA enable state in update_multisample() 2008-09-15 17:10:04 -06: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 75c19eb5a1 gallium: add another value check to util_fast_pow()
Fixes glitches seen in morph3d demo.
2008-09-13 15:22:52 -06:00
Younes Manton 3122f2bebe g3dvl: Fix field coded block copy. 2008-09-13 01:35:14 -04:00
Younes Manton 56c22687e1 g3dvl: Use winsys_buffer_reference() instead of pipe_buffer_reference().
Old pipe_buffer_reference() renamed winsys_buffer_reference(), new
pipe_buffer_reference() expects a screen.
2008-09-12 15:10:43 -04:00
Younes Manton f3f449a491 g3dvl: Implement surface sync functions. 2008-09-12 14:31:07 -04:00
Younes Manton 42a42dec3d g3dvl: Fullscreen fixes. Respect src & dst coords during scaling, clear FB. 2008-09-12 14:31:07 -04:00
Brian Paul 44e53b37a0 cell: fix twiddled tile display for XSHM. Fixed blank window problem. 2008-09-12 11:37:08 -06:00
Younes Manton 59f23e92e2 g3dvl: Update softlinks to nouveau winsys files, related fixes. 2008-09-12 13:22:43 -04:00
Younes Manton ca0efa84ed g3dvl: Cleanup. 2008-09-12 12:33:52 -04:00
Younes Manton 6b50fd27b8 g3dvl: Clean up Makefile deps. 2008-09-12 12:33:52 -04:00
Brian Paul 33aa5b6964 cell: disable calls to old gen code 2008-09-12 07:58:06 -06:00