Ian Romanick
4eee46efcb
intel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, remove
2009-12-10 15:12:30 -08:00
Ian Romanick
3078bd136d
intel: Axe intel_renderbuffer::texformat
...
Since the texformat branch merge, the value of intel_renderbuffer::texformat
is just a copy of gl_renderbuffer::Format.
2009-12-10 15:12:30 -08:00
Eric Anholt
539a14a1dd
intel: Flush the render/texture cache when finishing render to texture.
...
Back when we were flushing the entire batch at BindFramebuffer, the kernel
would notice the domain transition when someone went to texture from it and
flush for us. We no longer do the batch flushing every time, so we get to
do aggressive flushing until we move batchbuffer handling to libdrm.
Fixes piglit fbo-flushing. Bug #25377 . No noticeable performance loss
on cairo-gl (so this is better than batch flushing).
2009-12-10 14:47:09 -08:00
Brian Paul
9509f73c21
llvmpipe: checkpoint: use empty/full bin queues
2009-12-10 14:56:30 -07:00
Brian Paul
9a6567f1ed
llvmpipe: updated comment
2009-12-10 14:56:11 -07:00
Brian Paul
6d810e5a7b
llvmpipe: simplify llvmpipe_set_framebuffer_state()
2009-12-10 14:55:28 -07:00
Brian Paul
a67f39810b
gallium/util: added framebuffer compare, copy util funcs
2009-12-10 14:54:57 -07:00
Brian Paul
721b5167dc
llvmpipe: added some bin queue debug code
2009-12-10 14:54:32 -07:00
Vinson Lee
bc0509bba8
progs/util: Byte swap individual members of struct _rawImageRec.
2009-12-10 13:24:15 -08:00
Vinson Lee
51f52edaf1
glsl: Fix array out-of-bounds access by _slang_lookup_constant.
2009-12-10 12:37:10 -08:00
Vinson Lee
dcb4a37fc8
mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.
2009-12-10 12:11:09 -08:00
Eric Anholt
cb640c8d40
mesa: Fix default (swrast) GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS.
...
The swrast pipeline shouldn't have any problem with all the frag and vert
textures being bound at the same time. Note that this may result in
DRI drivers that don't set this limit having an improbable return
(fragment + vertex < combined), but it seems like it shouldn't cause
problems for apps.
2009-12-10 10:05:31 -08:00
Zack Rusin
967e6e2009
st/xorg: fix yv12 plus some cleanups in the upload code
2009-12-10 13:04:26 -05:00
Zack Rusin
690d888416
st/xorg: enable yv12 for xv
2009-12-10 13:04:05 -05:00
Brian Paul
21008441e4
llvmpipe: updated comments
2009-12-10 10:59:46 -07:00
Eric Anholt
51e945ec9c
intel: Attempt to fix up after "Update vertex texture code."
...
The MaxCombinedTextureImageUnits is the total number of samplers that can
be bound between vertex, geometry, and fragment, not 0. This should report
the correct value on 965 now. Other DRI drivers may also need updating if
their MaxVertexTextureImageUnits != 0 (for example, if using the sw vertex
pipeline).
It's not clear to me if there's going to be a valid value for this
limit other than MaxTextureImageUnits + MaxVertexTextureImageUnits (+
MaxGeometryTextureImageUnits eventually). If not, then we should probably
just move this into the core at Get time.
Bug #25518 (wine regression). Fixes piglit vp-combined-image-units.
2009-12-10 09:56:52 -08:00
José Fonseca
491f384c39
scons: Get GLSL code building correctly when cross compiling.
...
This is quite messy. GLSL code has to be built twice: one for the
host OS, another for the target OS.
2009-12-10 16:30:08 +00:00
Brian Paul
289eab5389
glsl/sl: fix _parse_boolconstant()
...
Need to emit the radix before the digits.
This fixes several glean/glgl1 regressions.
2009-12-10 09:16:39 -07:00
Brian Paul
cc020425e9
mesa: added new libglslpp.a and libglslcl.a to libGL build
2009-12-10 08:33:01 -07:00
Brian Paul
05eccfe79e
glsl/apps: remove unused vars
2009-12-10 08:25:47 -07:00
Brian Paul
0d654a7f2c
glsl/pp: make some functions static
2009-12-10 08:25:35 -07:00
Brian Paul
52271c5345
glsl/pp: declare sl_pp_purify_options to silence warning
2009-12-10 08:25:16 -07:00
Brian Paul
7502b6affa
glsl/cl: silence unused var warning
2009-12-10 08:24:45 -07:00
Michal Krol
f00805a117
slang: Predefine ES symbols for FEATURE_es2_glsl.
2009-12-10 12:59:23 +01:00
Michal Krol
417f36ccb0
glsl/apps: Predefine __GLSL_PP_PREDEFINED_MACRO_TEST for testing.
2009-12-10 12:58:44 +01:00
Michal Krol
22200bcafc
glsl/pp: Add support for user-defined macros.
2009-12-10 12:58:21 +01:00
Michal Krol
d1a09a9ba4
glsl/apps: Explicitly add ARB_draw_buffers and ARB_texture_rectangle.
2009-12-10 12:39:37 +01:00
Michal Krol
48c60b0ecb
slang: Explicitly enable ARB_draw_buffers and ARB_texture_rectangle.
...
They are no longer built into the glsl preprocessor.
2009-12-10 12:39:10 +01:00
Michal Krol
91e164b3d0
glsl/pp: Add sl_pp_context_add_extension().
...
This way third parties are able to add supported extension strings.
2009-12-10 12:38:22 +01:00
Vinson Lee
05b6296092
mesa: Fix SCons build.
...
Commit cd6b8dd9e8 deleted
src/mesa/state_tracker/st_cb_get.c.
2009-12-09 22:35:32 -08:00
Roland Scheidegger
71f4267ac2
winsys/intel: fix dereferencing of opaque type due to pipe_reference changes
2009-12-10 03:51:35 +01:00
Vinson Lee
b827578805
mesa: Fix array out-of-bounds access by _mesa_TexGend.
...
_mesa_TexGend calls _mesa_TexGenfv, which uses the params argument
as an array.
2009-12-09 17:59:23 -08:00
Vinson Lee
444d1f3910
mesa: Fix array out-of-bounds access by _mesa_Lighti.
...
_mesa_Lighti calls _mesa_Lightiv, which uses the params argument
as an array.
2009-12-09 17:34:50 -08:00
Vinson Lee
34528a34c4
mesa: Fix array out-of-bounds access by _mesa_Lightf.
2009-12-09 17:11:30 -08:00
michal
068596c9a7
Build mesa glsl with make.
...
Still don't know how to add glsl to mesa dependencies.
2009-12-10 01:03:15 +01:00
Brian Paul
96689d451a
llvmpipe: added some debug/info code
2009-12-09 16:32:32 -07:00
Brian Paul
ad3c16c127
llvmpipe: simplify the tiles_x, tiles_y code a bit
2009-12-09 16:30:05 -07:00
Brian Paul
edf11da7f8
progs/demos/gloss: press 'n' to advance by one frame
2009-12-09 16:23:30 -07:00
Brian Paul
3bee8c2e7c
llvmpipe: use the empty_bins queue now
2009-12-09 16:06:04 -07:00
Brian Paul
288ea9770a
progs/demos: call glutDestroyWindow() in gloss.c
2009-12-09 14:53:53 -07:00
Brian Paul
d7dbc66636
llvmpipe: checkpoint: begin plugging in bin queue code
2009-12-09 14:53:33 -07:00
Marek Olšák
c6b450033d
r300g: fix routing of vertex streams if TCL is bypassed
...
Generating mipmaps finally works, among other things. Yay!
2009-12-09 13:38:11 -08:00
Marek Olšák
6de7ac73bf
r300g: always disable unused colorbuffers
2009-12-09 13:38:11 -08:00
Marek Olšák
87b822e024
r300g: make pow(0,0) return 1 instead of NaN in the R500 fragment shader
...
Unfortunately we can't fix this easily in the R300 fragment shader,
and it's probably not worth the effort.
2009-12-09 13:38:11 -08:00
Marek Olšák
8cc570a48c
r300g: clean up r300_emit_aos
2009-12-09 13:38:11 -08:00
Brian Paul
ea35993e74
llvmpipe: added new lp_bin_queue.[ch] files
...
The queues will be used for keeping track of full and empty bins so
we can overlap setup with the rasterization threads.
2009-12-09 14:36:54 -07:00
Vinson Lee
348883076b
mesa: Fix array out-of-bounds access by _mesa_PointParameteri.
...
_mesa_PointParameteri calls _mesa_PointParameterfv, which uses the
params argument as an array.
2009-12-09 13:15:05 -08:00
Vinson Lee
6f2d51b81f
mesa: Fix array out-of-bounds access by _mesa_PointParameterf.
...
_mesa_PointParameterf calls _mesa_PointParameterfv, which uses the
params argument as an array.
2009-12-09 13:00:22 -08:00
Vinson Lee
637970aefd
mesa: Fix array out-of-bounds access by _mesa_LightModelf.
...
_mesa_LightModelf calls _mesa_LightModelfv, which uses the
params argument as an array.
2009-12-09 12:43:28 -08:00
Richard Li
8927b72118
r600 : add pre-compile mesa shader calling interface, in order to handle
...
complex built-in shader instructions.
2009-12-09 15:39:16 -05:00