Commit graph

92185 commits

Author SHA1 Message Date
Brian
627efcaa80 gallium/i965: remove more dependencies on pipe_shader_state semantic info 2008-02-27 17:21:29 -07:00
Brian
46da2f42a8 gallium/i965: added const to silence warning 2008-02-27 17:21:01 -07:00
José Fonseca
308f11f991 scons: Build mesa source with c99. 2008-02-28 08:18:32 +09:00
Brian
d612b6fa9b cell: fix minor get_tex_surface() breakage 2008-02-27 16:17:15 -07:00
Brian
dacf91fe58 gallium/i965: remove brw_shader_info struct
The info it contained is now found in tgsi_shader_info.
Added a few assertions to catch potential misunderstandings about register
counts vs. highest register index used.
2008-02-27 16:22:08 -07:00
Brian
f504d87240 gallium/i965: silence warnings 2008-02-27 16:11:26 -07:00
Brian
7ba1afb033 gallium/i965: added const to silence warnings 2008-02-27 16:11:14 -07:00
Brian
bad54d0b4d gallium/i965: remove UsesDepth, UsesKill - use tgsi_shader_info instead 2008-02-27 16:09:17 -07:00
Brian
ea7e86dd4d gallium/i965: remove dependencies on pipe_shader_state's semantic info
The brw_shader_info struct is rendundant and could be removed...
2008-02-27 16:05:16 -07:00
Brian
6b9a7eb460 gallium: remove dependencies on pipe_shader_state's semantic info 2008-02-27 16:03:40 -07:00
Brian
cddeca51ad gallium: remove dependencies on pipe_shader_state's semantic info
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead.
2008-02-27 16:02:58 -07:00
Brian
7df26d76d2 gallium: include p_util.h 2008-02-27 16:01:35 -07:00
Brian
679b6cf0a0 gallium: include p_compiler.h instead of p_util.h 2008-02-27 16:00:04 -07:00
Brian
681b78fc60 gallium: remove unnecessary assignment 2008-02-27 15:48:00 -07:00
Brian
3197ad5a56 gallium: added file_max[] array to tgsi_shader_info
Records the highest index of a declared register.
2008-02-27 15:47:24 -07:00
Brian
0e1e1f12f4 gallium/i915: remove unneeded assignment 2008-02-27 15:45:41 -07:00
Brian
80a9b5e1d9 gallium: remove unnecessary tgsi_interp_coef decl 2008-02-27 15:11:57 -07:00
Brian
c66ec5c7a2 gallium: remove uses_kill field from softpipe_shader 2008-02-27 15:11:57 -07:00
Brian
fb40c5a9c7 gallium: added uses_kill field to tgsi_shader_info 2008-02-27 15:11:57 -07:00
Ian Romanick
1c50ea2cd9 cell: Use unified data cache for textures too 2008-02-27 13:41:09 -08:00
Brian
cc5ffd7622 gallium: remove obsolete *_strings.c files 2008-02-27 14:28:17 -07:00
Brian
6f715dcc21 gallium: remove pipe_context->texture_create/release/get_tex_surface()
These functions are now per-screen, not per-context.
2008-02-27 14:21:12 -07:00
Christoph Brill
00bc91ac64 r300: properly handle GL_POINT in glPolygonMode
Until now the polygon mode was completely turned of when you used
GL_POINT. For me it looked buggy to completely disable the polygon
mode for FrontMode and BackMode if any of these was GL_POINT.
2008-02-27 22:06:38 +01:00
Brian
364f8cad0f gallium: move is_format_supported() to pipe_screen struct 2008-02-27 13:58:06 -07:00
Brian
8383f798b4 gallium: start removing pipe_context->get_name/vendor/param/paramf
These are now per-screen functions, not per-context.
State tracker updated, code in drivers and p_context.h disabled.
2008-02-27 11:24:35 -07:00
Brian
03b5267f52 gallium/i965: implement pipe_screen for i965 driver (untested) 2008-02-27 10:17:57 -07:00
Brian
17188e4d5a gallium/i915: hook up screen->get_param() 2008-02-27 10:15:37 -07:00
Brian
f04736c8be Cell: implement pipe_screen for cell driver 2008-02-27 09:55:17 -07:00
Brian
4f36cf5858 gallium: implement pipe_screen for softpipe driver 2008-02-27 09:47:46 -07:00
Brian
ef6c82b0c1 gallium/i915: remove some redundant code 2008-02-27 09:46:10 -07:00
Kristian Høgsberg
60c0f09abb intel: Always use intelInitExtensions() for initializing extensions. 2008-02-27 11:24:29 -05:00
Brian
31358282d4 gallium: better debug messages 2008-02-27 09:15:15 -07:00
Brian
e8c0162fa0 gallium: softpipe_init_texture_funcs(), make texture func static 2008-02-27 08:58:12 -07:00
Jerome Glisse
8d94dabad8 mesa: set input read only on success 2008-02-27 08:43:45 -07:00
José Fonseca
7a678556d4 scons: Place the .sconsign file on the builddir too.
To avoid issues with different scons versions building the same source file
2008-02-27 20:13:16 +09:00
José Fonseca
e49905b57c mesa: Add copyright headers. 2008-02-27 19:33:57 +09:00
José Fonseca
d6229d7f1f gallium: Make headers C++ friendly. 2008-02-27 18:39:57 +09:00
José Fonseca
9409043c58 scons: Move common code to a separate file. 2008-02-27 17:36:28 +09:00
José Fonseca
67099cd7b9 scons: Autodetect the default machine. 2008-02-27 16:53:52 +09:00
José Fonseca
9a8a5d7c2f gallium: Replace // comments. 2008-02-27 16:42:15 +09:00
José Fonseca
94c73d1bb9 gallium: Remove // comments. 2008-02-27 16:23:50 +09:00
José Fonseca
6ac148824d scons: Fix winddk.py's decription and copyright. 2008-02-27 16:05:57 +09:00
José Fonseca
f81b7a6285 gallium: update for new i915_screen.c file; fix some warnings. 2008-02-27 15:59:09 +09:00
José Fonseca
8902ce06e8 gallium: Use stricter types.
VC++ won't silently convert a pointer to a function with typed pointer
arguments to one with void pointer arguments.
2008-02-27 15:24:54 +09:00
Brian
9404712257 cell: insert a (disabled) call to spe_cpu_info_get()
Found on the Cell devel forum, but doesn't appear to be available in SDK 2.1.
2008-02-26 20:13:36 -07:00
Brian
aa59a937cc gallium: introduce 'pipe_screen' for context-independent functions
This will allow creating textures before a rendering context exists, for example.
Only implemented in i915 driver for now.  i915pipe->texture_create() just
dispatches through to the i915screen->texture_create() to avoid state tracker
changes for now.
2008-02-26 20:15:14 -07:00
Brian
dc2b6e2c33 gallium: use pipe_texture_reference() instead of pipe->texture_release() 2008-02-26 19:35:08 -07:00
Brian
4da19dbcaa gallium: remove pipe parameter from pipe_texture_reference()
Added pipe field to pipe_texture (temporary, see comments).
First step toward context-less texture creation...
2008-02-26 19:31:22 -07:00
Markus Amsler
c34b024cf4 r300: add artificial output to match fragment program input 2008-02-27 02:06:17 +01:00
Markus Amsler
12a4a74e94 mesa: set input read only on success 2008-02-27 02:04:06 +01:00