mesa.git
16 years agoscons: List tgsi_info.c.
Michal Krol [Wed, 13 Aug 2008 15:19:20 +0000 (17:19 +0200)]
scons: List tgsi_info.c.

16 years agotgsi: Opcode information.
Michal Krol [Wed, 13 Aug 2008 15:16:59 +0000 (17:16 +0200)]
tgsi: Opcode information.

16 years agofix compilation
Zack Rusin [Wed, 13 Aug 2008 11:14:47 +0000 (07:14 -0400)]
fix compilation

16 years agomesa: KIL -> KIL, KIL_NV -> KILP.
Michal Krol [Wed, 13 Aug 2008 09:19:24 +0000 (11:19 +0200)]
mesa: KIL -> KIL, KIL_NV -> KILP.

16 years agoi915: Swap meanings of KIL and KILP.
Michal Krol [Wed, 13 Aug 2008 09:13:46 +0000 (11:13 +0200)]
i915: Swap meanings of KIL and KILP.

16 years agocell: KILP is a predicated discard, KIL is a conditional discard.
Michal Krol [Wed, 13 Aug 2008 09:10:58 +0000 (11:10 +0200)]
cell: KILP is a predicated discard, KIL is a conditional discard.

16 years agotgsi: Swap meanings of KIL and KILP opcodes.
Michal Krol [Wed, 13 Aug 2008 09:09:20 +0000 (11:09 +0200)]
tgsi: Swap meanings of KIL and KILP opcodes.

16 years agogallivm: Translate KIL instead of KILP.
Michal Krol [Wed, 13 Aug 2008 08:58:54 +0000 (10:58 +0200)]
gallivm: Translate KIL instead of KILP.

16 years agodraw: Use KIL instead of KILP.
Michal Krol [Wed, 13 Aug 2008 08:52:55 +0000 (10:52 +0200)]
draw: Use KIL instead of KILP.

16 years agogallium: Make a note that OPCODE_KIL is a conditional kill.
Michal Krol [Wed, 13 Aug 2008 07:15:27 +0000 (09:15 +0200)]
gallium: Make a note that OPCODE_KIL is a conditional kill.
Map OPCODE_TEXKILL to OPCODE_KIL.

16 years agogallium: more context clean-up
Brian Paul [Wed, 13 Aug 2008 00:02:44 +0000 (18:02 -0600)]
gallium: more context clean-up

16 years agomesa: glsl: fix error detection of writing to read-only variables
Brian Paul [Tue, 12 Aug 2008 23:42:13 +0000 (17:42 -0600)]
mesa: glsl: fix error detection of writing to read-only variables

16 years agomesa: texture crop rect state
Brian Paul [Tue, 12 Aug 2008 23:41:57 +0000 (17:41 -0600)]
mesa: texture crop rect state

16 years agomesa: glsl: fix comment
Brian Paul [Tue, 12 Aug 2008 23:41:21 +0000 (17:41 -0600)]
mesa: glsl: fix comment

16 years agogallium: distinguish between KIL and KILP
Brian Paul [Tue, 12 Aug 2008 18:00:57 +0000 (12:00 -0600)]
gallium: distinguish between KIL and KILP

Note: KIL (unconditional) not done yet.

16 years agomesa: glsl: enable bzero() in slang_typeinfo_construct()
Brian Paul [Tue, 12 Aug 2008 17:47:46 +0000 (11:47 -0600)]
mesa: glsl: enable bzero() in slang_typeinfo_construct()

16 years agomesa: glsl: remove reads of output regs from fragment shaders too
Brian Paul [Tue, 12 Aug 2008 16:00:59 +0000 (10:00 -0600)]
mesa: glsl: remove reads of output regs from fragment shaders too

16 years agomesa: set point state
Brian Paul [Tue, 12 Aug 2008 16:00:36 +0000 (10:00 -0600)]
mesa: set point state

16 years agomesa: allow _mesa_remove_output_reads() to work on fragment programs
Brian Paul [Tue, 12 Aug 2008 16:00:02 +0000 (10:00 -0600)]
mesa: allow _mesa_remove_output_reads() to work on fragment programs

16 years agomesa: glsl: better error messages
Brian Paul [Tue, 12 Aug 2008 14:50:29 +0000 (08:50 -0600)]
mesa: glsl: better error messages

16 years agomesa: glsl: regenerated files
Brian Paul [Tue, 12 Aug 2008 14:50:14 +0000 (08:50 -0600)]
mesa: glsl: regenerated files

16 years agomesa: glsl: additional constructors
Brian Paul [Tue, 12 Aug 2008 14:49:57 +0000 (08:49 -0600)]
mesa: glsl: additional constructors

16 years agomesa: glsl: better mod() functions
Brian Paul [Mon, 11 Aug 2008 23:35:21 +0000 (17:35 -0600)]
mesa: glsl: better mod() functions

16 years agomesa: Rename sources to sources.mak.
José Fonseca [Thu, 7 Aug 2008 08:41:05 +0000 (09:41 +0100)]
mesa: Rename sources to sources.mak.

16 years agogallium: Disable debug break by default on windows.
José Fonseca [Thu, 7 Aug 2008 08:15:32 +0000 (09:15 +0100)]
gallium: Disable debug break by default on windows.

16 years agotgsi: Prevent division by zero.
José Fonseca [Thu, 7 Aug 2008 08:13:11 +0000 (09:13 +0100)]
tgsi: Prevent division by zero.

16 years agogallium: Allow compilation inside X.
José Fonseca [Thu, 7 Aug 2008 08:12:55 +0000 (09:12 +0100)]
gallium: Allow compilation inside X.

16 years agogdi: Remove CVS keyword.
José Fonseca [Thu, 7 Aug 2008 08:03:52 +0000 (09:03 +0100)]
gdi: Remove CVS keyword.

16 years agoglut: Remove EOF characters.
José Fonseca [Thu, 7 Aug 2008 08:03:30 +0000 (09:03 +0100)]
glut: Remove EOF characters.

16 years agopython: Use st_buffers instead of pipe_buffers.
José Fonseca [Tue, 12 Aug 2008 10:33:20 +0000 (11:33 +0100)]
python: Use st_buffers instead of pipe_buffers.

16 years agotrace: More dump fixes.
José Fonseca [Tue, 12 Aug 2008 10:32:42 +0000 (11:32 +0100)]
trace: More dump fixes.

16 years agotrace: Fix create_blend_state dump.
José Fonseca [Mon, 11 Aug 2008 17:29:04 +0000 (18:29 +0100)]
trace: Fix create_blend_state dump.

16 years agotrace: Dump polygon stipple state as an array.
José Fonseca [Mon, 11 Aug 2008 17:09:36 +0000 (18:09 +0100)]
trace: Dump polygon stipple state as an array.

16 years agopython: Bindings for p_compiler.h types.
José Fonseca [Mon, 11 Aug 2008 16:08:53 +0000 (17:08 +0100)]
python: Bindings for p_compiler.h types.

16 years agotrace: Fix create_depth_stencil_alpha_state trace.
José Fonseca [Mon, 11 Aug 2008 16:08:27 +0000 (17:08 +0100)]
trace: Fix create_depth_stencil_alpha_state trace.

16 years agopython: Bindings for pipe_{depth,stencil,alpha}_state.
José Fonseca [Mon, 11 Aug 2008 15:57:50 +0000 (16:57 +0100)]
python: Bindings for pipe_{depth,stencil,alpha}_state.

16 years agotrace: Dump pipe_{depth,stencil,alpha}_state names.
José Fonseca [Mon, 11 Aug 2008 15:56:08 +0000 (16:56 +0100)]
trace: Dump pipe_{depth,stencil,alpha}_state names.

16 years agogallium: Name pipe_depth_stencil_alpha_state member structures.
José Fonseca [Mon, 11 Aug 2008 15:55:30 +0000 (16:55 +0100)]
gallium: Name pipe_depth_stencil_alpha_state member structures.

So that the previously anonymous depth/stencil/alpha structures can be
identified in the traces.

This is just syntactic sugar: it does not break source or binary compatibility.

16 years agopython: Simplify setting the constant buffers.
José Fonseca [Mon, 11 Aug 2008 13:31:04 +0000 (14:31 +0100)]
python: Simplify setting the constant buffers.

16 years agopython: Split the interface definition file in smaller ones.
José Fonseca [Mon, 11 Aug 2008 13:06:24 +0000 (14:06 +0100)]
python: Split the interface definition file in smaller ones.

16 years agopython: Add unsigned arrays.
José Fonseca [Sun, 10 Aug 2008 23:16:20 +0000 (00:16 +0100)]
python: Add unsigned arrays.

16 years agotrace: Replace buffer_map+memcpy+buffer_unmap by buffer_write
José Fonseca [Sun, 10 Aug 2008 23:15:07 +0000 (00:15 +0100)]
trace: Replace buffer_map+memcpy+buffer_unmap by buffer_write

16 years agotrace: Zero the buffers to avoid dumping uninitialized memory.
José Fonseca [Sun, 10 Aug 2008 17:54:10 +0000 (18:54 +0100)]
trace: Zero the buffers to avoid dumping uninitialized memory.

16 years agopython: Allow writing to buffers.
José Fonseca [Sun, 10 Aug 2008 17:52:00 +0000 (18:52 +0100)]
python: Allow writing to buffers.

16 years agotrace: Fix hexadecimal dumping.
José Fonseca [Sun, 10 Aug 2008 17:51:23 +0000 (18:51 +0100)]
trace: Fix hexadecimal dumping.

16 years agotrace: Trace winsys/screen/context creation.
José Fonseca [Sun, 10 Aug 2008 15:24:43 +0000 (16:24 +0100)]
trace: Trace winsys/screen/context creation.

16 years agotrace: Trace texture depth.
José Fonseca [Sun, 10 Aug 2008 15:24:15 +0000 (16:24 +0100)]
trace: Trace texture depth.

16 years agopython: Update the documentation.
José Fonseca [Sat, 9 Aug 2008 14:07:40 +0000 (15:07 +0100)]
python: Update the documentation.

16 years agosoftpipe: Include missing header.
Michal Krol [Tue, 12 Aug 2008 09:30:50 +0000 (11:30 +0200)]
softpipe: Include missing header.

16 years agomesa: glsl: regenerated file
Brian Paul [Mon, 11 Aug 2008 23:10:39 +0000 (17:10 -0600)]
mesa: glsl: regenerated file

16 years agomesa: glsl: change refract() functions to allow inlining
Brian Paul [Mon, 11 Aug 2008 23:10:24 +0000 (17:10 -0600)]
mesa: glsl: change refract() functions to allow inlining

16 years agomesa: glsl: use SGE instead of SGT in step() functions
Brian Paul [Mon, 11 Aug 2008 22:13:39 +0000 (16:13 -0600)]
mesa: glsl: use SGE instead of SGT in step() functions

16 years agomesa: glsl: fix bugs in refract() functions, plus minor optimization
Brian Paul [Mon, 11 Aug 2008 22:07:40 +0000 (16:07 -0600)]
mesa: glsl: fix bugs in refract() functions, plus minor optimization

16 years agoversion 20 of glxext.h
Brian Paul [Mon, 11 Aug 2008 21:10:53 +0000 (15:10 -0600)]
version 20 of glxext.h

16 years agoversion 41 of glext.h
Brian Paul [Mon, 11 Aug 2008 21:10:40 +0000 (15:10 -0600)]
version 41 of glext.h

16 years agomesa: glsl: add missing sampler types in sizeof_glsl_type(), bug 17079
Brian Paul [Mon, 11 Aug 2008 21:10:18 +0000 (15:10 -0600)]
mesa: glsl: add missing sampler types in sizeof_glsl_type(), bug 17079

16 years agogallium: added comment
Brian Paul [Mon, 11 Aug 2008 21:05:27 +0000 (15:05 -0600)]
gallium: added comment

16 years agogallium: added _NEW_PROGRAM to dependencies
Brian Paul [Mon, 11 Aug 2008 21:04:55 +0000 (15:04 -0600)]
gallium: added _NEW_PROGRAM to dependencies

16 years agogallium: debug/print vertex tweak
Brian Paul [Mon, 11 Aug 2008 21:01:35 +0000 (15:01 -0600)]
gallium: debug/print vertex tweak

16 years agogallium: emit sprite coords (gl_PointCoord)
Brian Paul [Mon, 11 Aug 2008 20:59:26 +0000 (14:59 -0600)]
gallium: emit sprite coords (gl_PointCoord)

16 years agotrace: Dump writes to pipe_buffers.
José Fonseca [Sat, 9 Aug 2008 10:54:35 +0000 (11:54 +0100)]
trace: Dump writes to pipe_buffers.

16 years agotrace: Prevent tracing internal pipe driver calls.
José Fonseca [Sat, 9 Aug 2008 10:53:56 +0000 (11:53 +0100)]
trace: Prevent tracing internal pipe driver calls.

16 years agogallium: Invert include order.
José Fonseca [Sat, 9 Aug 2008 10:53:16 +0000 (11:53 +0100)]
gallium: Invert include order.

16 years agotrace: Dump shaders as text.
José Fonseca [Sat, 9 Aug 2008 10:52:53 +0000 (11:52 +0100)]
trace: Dump shaders as text.

16 years agotgsi: Dump shaders to a string too.
José Fonseca [Sat, 9 Aug 2008 10:52:27 +0000 (11:52 +0100)]
tgsi: Dump shaders to a string too.

Again.

16 years agoutil: Utility functions to print to a string buffer without overflowing.
José Fonseca [Sat, 9 Aug 2008 10:51:29 +0000 (11:51 +0100)]
util: Utility functions to print to a string buffer without overflowing.

16 years agotrace: Allow to dump binary data.
José Fonseca [Fri, 8 Aug 2008 22:53:53 +0000 (23:53 +0100)]
trace: Allow to dump binary data.

16 years agotrace: Trace pipe_winsys calls.
José Fonseca [Fri, 8 Aug 2008 22:11:56 +0000 (23:11 +0100)]
trace: Trace pipe_winsys calls.

16 years agotrace: Remove unused code.
José Fonseca [Fri, 8 Aug 2008 21:13:13 +0000 (22:13 +0100)]
trace: Remove unused code.

16 years agomesa: fix some feature tests
Brian Paul [Fri, 8 Aug 2008 19:06:54 +0000 (13:06 -0600)]
mesa: fix some feature tests

16 years agomesa: fix some pixel transfer state tests for depth formats
Brian Paul [Fri, 8 Aug 2008 18:29:48 +0000 (12:29 -0600)]
mesa: fix some pixel transfer state tests for depth formats

16 years agogallium: fix additional glCopyTex[Sub]Image issues
Brian Paul [Fri, 8 Aug 2008 16:39:56 +0000 (10:39 -0600)]
gallium: fix additional glCopyTex[Sub]Image issues

Use the TexFormat->StoreImage() routine for fallbacks.  This handles the
case of copying RGBA framebuffer data into an RGBA texture when the base
format is GL_RGB (or GL_LUMINANCE, etc).  In that case, we need to set
the texture's alpha=1 and override the framebuffer's alpha.

16 years agomesa: fix out-of-bounds memory reads in swizzle_copy()
Brian Paul [Fri, 8 Aug 2008 15:08:44 +0000 (09:08 -0600)]
mesa: fix out-of-bounds memory reads in swizzle_copy()

16 years agotrace: Prevent from internal calls from pipe_context to pipe_screen from being traced.
José Fonseca [Fri, 8 Aug 2008 11:31:23 +0000 (12:31 +0100)]
trace: Prevent from internal calls from pipe_context to pipe_screen from being traced.

16 years agogallium: Add destroy callback to all *_winsys interfaces.
José Fonseca [Fri, 8 Aug 2008 11:23:21 +0000 (12:23 +0100)]
gallium: Add destroy callback to all *_winsys interfaces.

For consistency and to simplify these objects' destruction.

16 years agoi965: Remove extraneous arg to debug_printf.
José Fonseca [Thu, 7 Aug 2008 22:32:45 +0000 (23:32 +0100)]
i965: Remove extraneous arg to debug_printf.

16 years agogallium: clean-up, remove dead code, update comments
Brian Paul [Thu, 7 Aug 2008 23:59:41 +0000 (17:59 -0600)]
gallium: clean-up, remove dead code, update comments

16 years agogallium: use PIPE_FORMAT_X8Z24_UNORM for 24-bit Z but no stencil
Brian Paul [Thu, 7 Aug 2008 21:11:54 +0000 (15:11 -0600)]
gallium: use PIPE_FORMAT_X8Z24_UNORM for 24-bit Z but no stencil

16 years agosoftpipe: add support for PIPE_FORMAT_X8Z24_UNORM, PIPE_FORMAT_Z24X8_UNORM
Brian Paul [Thu, 7 Aug 2008 21:05:13 +0000 (15:05 -0600)]
softpipe: add support for PIPE_FORMAT_X8Z24_UNORM, PIPE_FORMAT_Z24X8_UNORM

16 years agotrace: Simplify HTML output.
José Fonseca [Thu, 7 Aug 2008 19:57:03 +0000 (20:57 +0100)]
trace: Simplify HTML output.

16 years agotrace: Merge the CSS into the XSL.
José Fonseca [Thu, 7 Aug 2008 18:58:20 +0000 (19:58 +0100)]
trace: Merge the CSS into the XSL.

16 years agotrace: Dump format names.
José Fonseca [Thu, 7 Aug 2008 18:46:39 +0000 (19:46 +0100)]
trace: Dump format names.

16 years agogallium: s/pf_sprint_name/pf_name/
Brian Paul [Thu, 7 Aug 2008 19:35:21 +0000 (13:35 -0600)]
gallium: s/pf_sprint_name/pf_name/

16 years agogallium: fix a few bugs on the fallback CopyTex[Sub]Image() path.
Brian Paul [Thu, 7 Aug 2008 19:32:11 +0000 (13:32 -0600)]
gallium: fix a few bugs on the fallback CopyTex[Sub]Image() path.

16 years agogallium: s/printf/debug_printf/
Brian Paul [Thu, 7 Aug 2008 19:31:57 +0000 (13:31 -0600)]
gallium: s/printf/debug_printf/

16 years agogallium: new/better debug code (disabled)
Brian Paul [Thu, 7 Aug 2008 19:30:49 +0000 (13:30 -0600)]
gallium: new/better debug code (disabled)

16 years agogallium: implement a bunch of missing put_tile functions
Brian Paul [Thu, 7 Aug 2008 19:30:24 +0000 (13:30 -0600)]
gallium: implement a bunch of missing put_tile functions

16 years agogallium: enable the call to r16_put_tile_rgba(), silences warning
Brian Paul [Thu, 7 Aug 2008 17:04:05 +0000 (11:04 -0600)]
gallium: enable the call to r16_put_tile_rgba(), silences warning

16 years agomesa: fix glBindTexture comment/error string
Brian Paul [Thu, 7 Aug 2008 16:29:11 +0000 (10:29 -0600)]
mesa: fix glBindTexture comment/error string

16 years agomesa: glsl: regenerated files
Brian Paul [Thu, 7 Aug 2008 16:26:56 +0000 (10:26 -0600)]
mesa: glsl: regenerated files

16 years agomesa: glsl: finish up support for precision qualifiers
Brian Paul [Thu, 7 Aug 2008 16:26:35 +0000 (10:26 -0600)]
mesa: glsl: finish up support for precision qualifiers

16 years agomesa: pf_sprint_name->pf_name.
José Fonseca [Thu, 7 Aug 2008 18:25:54 +0000 (19:25 +0100)]
mesa: pf_sprint_name->pf_name.

16 years agogallium: Simplify format->name conversion.
José Fonseca [Thu, 7 Aug 2008 18:25:28 +0000 (19:25 +0100)]
gallium: Simplify format->name conversion.

16 years agotrace: Dump state.
José Fonseca [Thu, 7 Aug 2008 17:55:05 +0000 (18:55 +0100)]
trace: Dump state.

16 years agotrace: Trace pipe context calls.
José Fonseca [Thu, 7 Aug 2008 12:20:02 +0000 (13:20 +0100)]
trace: Trace pipe context calls.

16 years agoraw2png: Fix channel order in a8b8g8r8/x8b8g8r8 formats.
José Fonseca [Thu, 7 Aug 2008 07:50:50 +0000 (08:50 +0100)]
raw2png: Fix channel order in a8b8g8r8/x8b8g8r8 formats.

16 years agotrace: Add missing XSL and CSS.
José Fonseca [Wed, 6 Aug 2008 20:39:25 +0000 (21:39 +0100)]
trace: Add missing XSL and CSS.

16 years agoxlib: Integrate with the trace pipe driver.
José Fonseca [Wed, 6 Aug 2008 20:37:00 +0000 (21:37 +0100)]
xlib: Integrate with the trace pipe driver.

16 years agotrace: New pipe driver to trace incoming calls.
José Fonseca [Wed, 6 Aug 2008 20:36:25 +0000 (21:36 +0100)]
trace: New pipe driver to trace incoming calls.

Only pipe_screen calls traced, and only linux supported, for now.

16 years agopipebuffer: Add an extra assertion to ensure buffers do not jump between lists.
José Fonseca [Wed, 6 Aug 2008 13:51:15 +0000 (14:51 +0100)]
pipebuffer: Add an extra assertion to ensure buffers do not jump between lists.