Commit Graph

22010 Commits

Author SHA1 Message Date
Keith Whitwell af34fa316d mesa/st: don't call finish in st_glFlush()
It is not the state tracker's responsibilty to inject sleeps and
pessimize performance in the hope of avoiding buffer synchronization
issues in buggy drivers.

Calling finish() here will just hide problems that need to be fixed
elsewhere.
2009-03-13 15:53:48 +00:00
Brian Paul 7d6478cfcc i965: more register number assertions 2009-03-13 09:23:44 -06:00
Brian Paul a10ec13143 i965: add some register number assertions
Haven't seen failures yet, but if/when there are, more investigation will
be done.
2009-03-13 09:23:43 -06:00
Brian Paul 2cf296186e i965: remove unused PROGRAM_INTERNAL_PARAM, added comment 2009-03-13 09:23:43 -06:00
Brian Paul 24d4ee98d4 i965: move declarations before code 2009-03-13 09:23:43 -06:00
Brian Paul 460ee86d60 i965: debug code, use gl_register_file type 2009-03-13 09:23:43 -06:00
Brian Paul 4eda17d192 mesa: glUseProgram() debug code (disabled) 2009-03-13 09:23:43 -06:00
Jakob Bornecrantz d5d5b27224 trace: Fix some typos 2009-03-13 05:40:10 +01:00
Brian Paul 583d293734 mesa: improve another _mesa_problem() call 2009-03-13 08:46:03 -06:00
Brian Paul ccad1e4528 mesa: add GL_DUDV_ATI cases in calculate_derived_texenv() 2009-03-13 08:46:03 -06:00
Brian Paul fcb0d8968d mesa: more info in _mesa_problem() call 2009-03-13 08:46:03 -06:00
Brian Paul 4681a1d1ee mesa: added 1D/3D fetch_texel functions for DUDV8 2009-03-13 08:46:03 -06:00
Thomas Hellstrom 8132405d52 xdemos: Add multithreaded sharedtex_mt.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-13 15:06:54 +01:00
Keith Whitwell 48012157ba vp: add test for pointsize output 2009-03-13 11:57:15 +00:00
José Fonseca f22574be95 scons: Use -Wdeclaration-after-statement 2009-03-13 11:48:14 +00:00
José Fonseca 188a3334f8 progs: Add util to cpp path. 2009-03-13 11:48:13 +00:00
Keith Whitwell dbc3e8e93f progs/vp: add keys for point prims, etc, and various new tests 2009-03-13 11:32:32 +00:00
Jakob Bornecrantz f500f3a72c gallium: Remove do_flip argument from surface_copy
I should have gotten most uses and implementation
	correctly fixed, but things might break.

	Feel free to blame me.
2009-03-13 01:38:20 +01:00
Brian Paul f786e46cf4 mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format()
This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI.
2009-03-12 19:42:14 -06:00
Brian Paul 1826ff3fb3 mesa: override_internal_format() function for debug/test purposes (disabled) 2009-03-12 18:25:09 -06:00
Brian Paul 8a8919a7dd mesa: improve some error messages 2009-03-12 18:25:09 -06:00
Brian Paul 3b946cde45 i965: move declaration before code 2009-03-12 18:25:09 -06:00
Brian Paul dbc9a1d33b i965: fix const correctness 2009-03-12 18:25:09 -06:00
Brian Paul 6b9c1446b3 i915: move declarations before code 2009-03-12 18:25:09 -06:00
Brian Paul 6c5804172a i965: comments 2009-03-12 18:25:09 -06:00
Brian Paul 8e1b2bac8b config: add -Wdeclaration-after-statement to linux config
Should help to catch Windows build issues earlier.
2009-03-12 17:21:20 -06:00
Brian Paul 8b2ecfdd5c demos: move declaration before code 2009-03-12 17:21:05 -06:00
Brian Paul 41a6a2b831 wgl: add new dispatch stubs 2009-03-12 16:16:08 -06:00
Brian Paul 47053782b8 mesa: move declarations before code 2009-03-12 16:13:44 -06:00
Brian Paul 363fc6d64f mesa: fix glRead/DrawBuffer(GL_AUXn) error value
If GL_AUX[123] are passed to glRead/DrawBuffer() when those buffers don't
exist, need to generate GL_INVALID_OPERATION, not GL_INVALID_ENUM.

This regression came from commit 555f0a8818
2009-03-12 14:17:27 -06:00
Robert Ellison 29309b45b0 i965: fix polygon stipple when rendering to FBO
The polygon stipple pattern, like the viewport and the
polygon face orientation, must be inverted on the i965
when rendering to a FBO (which itself has an inverted pixel
coordinate system compared to raw Mesa).

In addition, the polygon stipple offset, which orients
the stipple to the window system, disappears when rendering
to an FBO (because the window system offset doesn't apply,
and there's no associated FBO offset).

With these fixes, the conform triangle and polygon stipple
tests pass when rendering to texture.
2009-03-12 11:58:43 -06:00
Michal Krol a9a214cc7f tgsi: Localise SCS code. 2009-03-12 18:32:38 +01:00
Michal Krol 321634d80b tgsi: Rewrite NRM opcode, store 1.0 in W component. 2009-03-12 18:32:36 +01:00
Michal Krol d4ea9a2652 tgsi: Begin documenting NV_fragment_program2 instruction set operations. 2009-03-12 18:32:34 +01:00
Michal Krol 98399eeda0 tgsi: Begin documenting ARB_fragment_program instruction set operations. 2009-03-12 18:32:32 +01:00
Michal Krol d76b3bb0a8 tgsi: Document ARB_vertex_program instruction set operations. 2009-03-12 18:32:29 +01:00
Michal Krol 8823d01f14 tgsi: Begin documenting NV_vertex_program2 instruction set operations. 2009-03-12 18:32:27 +01:00
Keith Whitwell f16da8d509 trivial: draw non-interleaved arrays 2009-03-12 17:21:50 +00:00
Keith Whitwell 10812b0791 stw: fix uninitialized variable issue 2009-03-12 16:57:30 +00:00
Keith Whitwell d885c9dad1 util: fix debug_assert() to avoid unused variable warnings in release builds 2009-03-12 16:57:30 +00:00
Jakob Bornecrantz e8ee34e7f3 trace: Wrap pipe_buffers 2009-03-12 16:35:43 +01:00
Jakob Bornecrantz 53e5248b0a trace: Add dump util functions for wrapped pointers 2009-03-12 16:35:43 +01:00
Brian Paul 6aa6ae8cff demos: fix error string, comment 2009-03-12 09:31:59 -06:00
Brian Paul 862dccd560 mesa: fix transposed red/blue in store_texel_rgb888/bgr888() functions 2009-03-12 09:30:08 -06:00
Brian Paul 4626e57e17 demos: fix typo 2009-03-12 09:19:28 -06:00
Keith Whitwell 1e074dcb7b demos: use glGenerateMipmapEXT entrypoint in cubemap.c
glGenerateMipmap() is part of ARB_framebuffer_object, which many mesa
drivers don't advertise.  Add check for EXT_framebuffer_object.
2009-03-12 14:30:49 +00:00
Roland Scheidegger 45b8e76b5c mesa test prog for ATI_envmap_bumpmap 2009-03-12 15:07:22 +01:00
Roland Scheidegger 3327cc64e7 i965: add support for ATI_envmap_bumpmap 2009-03-12 15:06:17 +01:00
Roland Scheidegger 36010806a1 regenerate glapi 2009-03-12 15:04:47 +01:00
Roland Scheidegger 114152e068 mesa: add support for ATI_envmap_bumpmap
add new entrypoints, new texture format, etc
translate in texenvprogram.c for drivers using the mesa-generated tex env
fragment program
also handled in swrast, but not tested (cannot work due to negative texel
results not handled correctly)
2009-03-12 15:01:16 +01:00