Commit Graph

30237 Commits

Author SHA1 Message Date
Michal Krol 9e895831bc tgsi: Constants declared with ureg_DECL_constant() are one-dimensional.
This is to maintain backward compatibility with drivers
that don't support arrays of constant buffers.
2010-01-28 14:08:22 +01:00
Michal Krol 3ba2ab3a23 tgsi: Add ureg_property_gs_output_prim/max_vertices(). 2010-01-28 14:08:19 +01:00
Michal Krol 6522804cb3 docs: Implement constant buffer CAPs. 2010-01-28 14:08:16 +01:00
Michal Krol 3320acb67d softpipe: Report some sane values for constant buffer CAP queries. 2010-01-28 14:08:12 +01:00
Michal Krol 25123e0c88 gallium: Add CAPs for constant buffers. 2010-01-28 14:08:08 +01:00
Michal Krol 7c5f255201 gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS. 2010-01-28 14:08:03 +01:00
Michal Krol 333c035a51 regress: Add vertex shaders tests for constant buffers. 2010-01-28 14:07:58 +01:00
Michal Krol 9851644435 gallium: Enable multiple constant buffers for vertex and geometry shaders. 2010-01-28 14:07:53 +01:00
Michal Krol 44ac4c4e2c regress: Add fragment shader test for one-dimensional constant buffers. 2010-01-28 14:07:48 +01:00
Michal Krol 4771e536e1 regress: Add two-dimension constant buffer test. 2010-01-28 14:07:45 +01:00
Michal Krol 91d58c3520 python: Link to ws2_32 on windows. 2010-01-28 14:07:42 +01:00
Michal Krol dcf8543ab3 tgsi: Handle two-dimensional constants in text parser. 2010-01-28 14:07:38 +01:00
Michal Krol d96bb01d2d regress: Fix shader header. 2010-01-28 14:07:34 +01:00
Michal Krol 835bab0143 gallium: Implement 2D constant buffers for fragment shader in softpipe. 2010-01-28 14:07:29 +01:00
Michal Krol 4367de152c tgsi: Handle 2-D declarations. 2010-01-28 14:07:24 +01:00
Michal Krol 0adfdaeaa1 gallium: Add tgsi_declaration_dimension token.
This will allow us to declare two-dimensional constant buffers.
2010-01-28 14:07:19 +01:00
Corbin Simpson 241a0b8cf3 radeong: Slight improvement to buffer creation. 2010-01-28 03:05:46 -08:00
Corbin Simpson f0a3f824ac gallium-docs: Moar buffer info.
Oh look, that one question about map_buffer_range is answered.
2010-01-28 03:05:46 -08:00
Corbin Simpson 2102ee204c gallium-docs: Start doc'ing screen buffers. 2010-01-28 03:05:46 -08:00
Corbin Simpson 12f97d9c09 r300g: Fix bizarre half-flushes with immd mode. 2010-01-28 03:05:46 -08:00
Corbin Simpson b9ae570bab r300g: Atomize framebuffers.
There might be some optimizations possible here...
2010-01-28 03:05:46 -08:00
Chia-I Wu 14cbf324dc docs: Update the developer section of egl.html.
Mainly to add a subsection on the lifetime of display resources.
2010-01-28 18:10:05 +08:00
Vinson Lee 51ab599ddb scons: Do not use linker option '-Bsymbolic' on Mac OS X.
ld on Mac OS X does not recognize the option '-Bsymbolic'.
2010-01-28 01:34:40 -08:00
Chia-I Wu 6baa2c8d02 egl: Migrate drivers to use _eglBindContext.
_eglMakeCurrent is a big hammer that is not easy to use.  Migrate
drivers to use _eglBindContext and un-export _eglMakeCurrent.
2010-01-28 17:28:48 +08:00
Chia-I Wu 45ba533243 egl: Correctly unbind contexts in eglReleaseThread.
MakeCurrent unbinds the current context of the current API.  Modify the
current API to make sure all contexts are correctly unbound.
2010-01-28 17:28:48 +08:00
Chia-I Wu 17330479b3 egl: eglMakeCurrent should accept an uninitialized display.
When no context or surface are given, the display is allowed to be
uninitialized.  Most drivers cannot handle an uninitialized display.
But they are updated to at least throw a fatal message.
2010-01-28 17:28:47 +08:00
Chia-I Wu 959481ad70 egl: Add _eglBindContext.
It works similar to _eglMakeCurrent, except that the old context and
surfaces are returned instead of destroyed.  _eglMakeCurrent is now
calling the new _eglBindContext.
2010-01-28 17:28:47 +08:00
Chia-I Wu a933259daa egl: Use a boolean to indicate whether a display is initialized.
The driver pointer of the display was used to decide whether a display
is initialized.  Use a boolean for that purpose allows accessing the
driver of an uninitialized display.
2010-01-28 17:28:47 +08:00
Vinson Lee 8f81769148 scons: Fix GLEW build on Mac OS X. 2010-01-28 01:19:53 -08:00
Vinson Lee 5dcc088bf1 tgsi: Silence uninitialized variable warning. 2010-01-28 00:40:43 -08:00
Vinson Lee 1eb1d4e238 radeon: Silence "format" compiler warnings. 2010-01-28 00:33:30 -08:00
Vinson Lee 347cd2b0d5 st/xorg: Remove unnecessary headers. 2010-01-28 00:25:20 -08:00
Vinson Lee 4030cd5a2d st/dri: Remove unnecessary headers. 2010-01-28 00:20:22 -08:00
Vinson Lee c2bd1657a8 llvmpipe: Remove unnecessary headers. 2010-01-27 18:08:37 -08:00
Brian Paul 714d3ec9bc swrast: s/FIXED_TO_FLOAT/FixedToFloat/ 2010-01-27 17:48:34 -07:00
Vinson Lee 978568c647 r300g: Remove unnecessary headers. 2010-01-27 16:12:51 -08:00
Brian Paul dd89ac249c mesa: fix int/uint comparison warnings
Reported by Karl Schultz.
2010-01-27 17:04:30 -07:00
Brian Paul 20fbb24b67 mesa: fix double->float assignment warnings, int/uint comparison warnings
Reported by Karl Schultz.
2010-01-27 17:04:30 -07:00
Brian Paul 6703fb1917 mesa: fix double->float assignment warnings
Reported by Karl Schultz.
2010-01-27 17:04:30 -07:00
Brian Paul ca0d048e4e mesa: fix int/uint comparison warnings
Reported by Karl Schultz.
2010-01-27 17:04:30 -07:00
Brian Paul 28bd4a1d81 tnl: fix double->float and int/uint conversion warnings
Reported by Karl Schultz.
2010-01-27 17:04:30 -07:00
Brian Paul 880411c72a swrast: silence double->float assignment warnings
Reported by Karl Schultz.
2010-01-27 17:04:30 -07:00
Brian Paul 4e5364d6fc mesa: more info in glActiveTexture error msg 2010-01-27 17:04:30 -07:00
Brian Paul f103f7e460 configs: added vega to default GALLIUM_STATE_TRACKERS_DIRS 2010-01-27 17:04:30 -07:00
Vinson Lee 83e6ba564c i965g: Remove unnecessary headers. 2010-01-27 15:54:21 -08:00
Vinson Lee f7f59b50ce util: Remove unnecessary header. 2010-01-27 15:35:58 -08:00
Vinson Lee 00c3607917 tgsi: Remove unnecessary header. 2010-01-27 15:32:48 -08:00
Vinson Lee 83d2b4d4a6 gallium/draw: Remove unnecessary headers. 2010-01-27 15:06:13 -08:00
Vinson Lee 01ed5c6ef5 r300g: Silence GCC "missing braces around initializer" warning. 2010-01-27 14:04:53 -08:00
Alex Deucher ccb4ba3e3b r600: fix warning 2010-01-27 12:18:02 -05:00