Ian Romanick
66df1731e6
Don't try to bind to proxy texture target. This is defined by the spec to be
...
an error. Since we're working with a proxy target, don't bother using real
texture data.
Add a missing new-line in an error printf.
2006-03-06 16:31:50 +00:00
Stephane Marchesin
5569c2dfae
Cleaned up the software TCL code a bit. Renamed nv30_tris.[c,h] to
...
nv20_swtcl.[c,h].
2006-03-06 15:32:31 +00:00
Stephane Marchesin
98e1b13802
Added some NV20 support - nv_30_tris.c should probably be renamed again.
2006-03-06 12:23:24 +00:00
Stephane Marchesin
b9c4b7fc89
More work on the nv30 software tcl code
2006-03-06 01:46:24 +00:00
Ian Romanick
5820f7998a
Build test for bugzilla #3050
2006-03-04 04:46:10 +00:00
Ian Romanick
780d270312
Test case for bugzilla #3050 .
2006-03-04 04:44:47 +00:00
Stephane Marchesin
4af665a843
Rename nouveau_3d_reg.h to nouveau_reg.h
2006-03-03 16:10:28 +00:00
Stephane Marchesin
84a20832f1
rename nv40_tris to nv30_tris.
2006-03-03 16:08:59 +00:00
Roland Scheidegger
e1e03b32ab
Use standard ARB names instead of vendor-specific NV names for the ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different.
2006-03-03 15:03:04 +00:00
Roland Scheidegger
f8ba07a77d
fix up the emit_func list in the experimental arbprogram sse code.
2006-03-03 14:11:19 +00:00
Roland Scheidegger
5e01f9a114
Fix bogus span mask in s_atifragshader.c leading to trouble when the pixel was later discarded by z test (this fixes doom3 r200 renderpath with swrast). Fix calling _swrast_alpha_test potentially leading to bogus results when Alpha Test might not be enabled. While here, don't disable deferred_texture (early z) when ATI_fragment_shader is active, as it is not necessary (for the record, this boosts doom3 swrast performance by roughly a factor of 2 (4 seconds per frame now...) with the r200 render path, might be a worthwile optimization for fragment programs which don't write z).
2006-03-03 02:46:03 +00:00
Keith Whitwell
f4ab5654d0
Add position_invarient support
2006-03-02 20:16:34 +00:00
Roland Scheidegger
da16813f43
Fix more enums defined not only by one extension when queried by glGet (GL_COLOR_SUM_EXT, GL_POINT_SPRITE_NV, GL_POINT_SPRITE_COORD_ORIGIN, GL_TRANSPOSE_CURRENT_MATRIX_ARB). Fix similar bugs (also those previously overseen dependant on NV/ARB_vertex_program) in glIsEnabled. Add missing GL_COLOR_SUM_EXT enum to glIsEnabled.
2006-03-02 12:06:57 +00:00
Brian Paul
9227bca103
added GL_EXT_framebuffer_blit, etc
2006-03-02 04:12:34 +00:00
Brian Paul
81b8aa9ecd
test glBlitFramebufferEXT w/ -blit flag
2006-03-02 03:54:14 +00:00
Brian Paul
14d3ab9662
improved error msg
2006-03-02 03:51:04 +00:00
Brian Paul
904ab0c22c
check FEATURE_EXT_framebuffer_blit
2006-03-02 03:46:33 +00:00
Brian Paul
afa1df5871
plug in BlitFramebuffer function
2006-03-02 03:45:28 +00:00
Brian Paul
c241d3b06a
implementation of _swrast_BlitFramebuffer()
2006-03-02 03:37:18 +00:00
Stephane Marchesin
0e7e80ae10
Some small improvements.
2006-03-02 00:42:37 +00:00
Roland Scheidegger
93da673904
Fix glGet with enums which are used not only in NV_vertex_program, but other extensions too (ARB_vertex_program, ARB_fragment_program, NV_fragment_program), if no support for NV_vertex_program is present. While here, fix return value if enum is used which is not supported by the exposed extensions (GL_INVALID_ENUM instead of GL_INVALID_VALUE). Fix some compile-time #ifs depending on NV_vertex/fragment_program which should also be dependant on ARB_vertex/fragment_program. See bug #6070
2006-03-01 23:11:14 +00:00
Brian Paul
cf6be2d5bd
No need for _mesa_save_error() to be public.
...
glVertexAttrib() w/ bad index should generate GL_INVALID_VALUE, not
GL_INVALID_ENUM.
Misc clean-ups.
2006-03-01 15:44:20 +00:00
Brian Paul
dbfd246db8
added BlitFramebuffer() support
2006-03-01 15:36:34 +00:00
Brian Paul
190e5595bc
New comments. Use tuples () instead of lists [] in a few places.
2006-03-01 15:33:56 +00:00
Brian Paul
68edf28df6
added Flush in glXCopyContext()
2006-03-01 15:32:38 +00:00
Brian Paul
9b8059e536
updated comment
2006-03-01 02:09:40 +00:00
Brian Paul
6d4284e2bf
Added glBlitFramebufferEXT function.
2006-03-01 02:07:50 +00:00
Brian Paul
9974540c73
remove temporary tokens, more error checks for blit function
2006-03-01 02:02:43 +00:00
Brian Paul
2c61fdafd6
added s_blit.c
2006-03-01 02:00:58 +00:00
Brian Paul
1eca891dbe
_swrast_blit_framebuffer() function
2006-03-01 01:57:30 +00:00
Brian Paul
a231097609
GL_EXT_framebuffer_blit tokens/functions
2006-03-01 01:54:59 +00:00
Aapo Tahkola
fbe48ef01f
Free temps when possible
2006-02-28 23:39:32 +00:00
Aapo Tahkola
71932ef85c
Dont let (possibly) undefined z component reach hw as its unused
2006-02-28 23:22:48 +00:00
Aapo Tahkola
6754e17138
No need to call *_FIREVERTICES twice.
2006-02-28 23:17:00 +00:00
Aapo Tahkola
f71fd439f5
Fix aliasing bug (Benjamin Herrenschmidt)
2006-02-28 23:08:28 +00:00
Brian Paul
147f5091a1
Allow error checking to look for presence of either of two extensions.
...
See bug 6070.
2006-02-28 21:45:09 +00:00
Brian Paul
176dac684a
only run shader on active fragments in the span
2006-02-28 15:48:43 +00:00
Brian Paul
34b60b001d
check if active fragment shader for deferred texturing/shading
2006-02-28 15:48:19 +00:00
Brian Paul
3073cf21d2
check for active shader, set FRAGPROG_BIT in raster mask
2006-02-28 15:44:33 +00:00
Brian Paul
d1d4121682
silence a bunch of warnings
2006-02-27 15:45:38 +00:00
Michal Krol
9ac9605de1
More GLSL code:
...
- add x86 code generator;
- add full support for uniforms in ARB_shader_objects;
- add assembly instruction: global_addr;
- reorganize #includes;
- built-in uniforms accessed by index, rather than by name;
- add some entries to x86sse rtasm;
- add configurations to VC6 projects: 'Release x86' and 'Debug x86';
- #define SLANG_X86 active only on VC6 x86 builds;
- introduce code export table for a shader;
- remove GNU license from the noise library;
2006-02-27 14:41:41 +00:00
Brian Paul
c56f2c49a5
re-formated with indent.
2006-02-26 18:18:12 +00:00
Brian Paul
be42f53020
Remove need to initialize the InstSize[] array elements by just storing
...
the instruction size in _mesa_alloc_instruction().
2006-02-26 18:02:13 +00:00
Brian Paul
a764b7eae0
display list clean-ups
2006-02-26 17:16:37 +00:00
Roland Scheidegger
4e77669926
Add all pci ids known by ddx to radeon dri driver. Remove the entries not known by ddx (probably secondary ids, non-existant cards and similar). Add rs400 to the family enum, and configure the rv410 like a 2 quad chip (?)
2006-02-25 02:03:12 +00:00
Brian Paul
2aabdc743f
fix broken _mesa_copy_context() for GL_LIGHTING_BIT
2006-02-24 18:19:11 +00:00
Brian Paul
ee2339f673
need to check for _NEW_BUFFERS in xmesa_update_state()
2006-02-24 17:58:48 +00:00
Brian Paul
228d4a6de7
Fix _mesa_copy_texture_state() so that we copy texture object bindings,
...
not the actual contents of texture objects. This makes glXCopyContext()
work properly.
2006-02-24 17:16:57 +00:00
Brian Paul
1aad408b5a
EXT_framebuffer_object (Dave Reveman)
2006-02-24 15:36:24 +00:00
Brian Paul
44a2e96729
include inttypes.h if __osf__ defined (Randall Hand)
2006-02-23 15:36:39 +00:00