Chad Versace
4a62a1c366
glsl: Comment ast_type_qualifier.flags
2011-01-04 10:49:10 -08:00
Eric Anholt
b7b2791c6b
intel: When validating an FBO's combined depth/stencil, use the given FBO.
...
We were looking at the current draw buffer instead to see whether the
depth/stencil combination matched. So you'd get told your framebuffer
was complete, until you bound it and went to draw and we decided that
it was incomplete.
2011-01-04 10:04:19 -08:00
Eric Anholt
0ea49380e2
intel: Fix segfaults from trying to use _ColorDrawBuffers in FBO validation.
...
The _ColorDrawBuffers is a piece of computed state that gets for the
current draw/read buffers at _mesa_update_state time. However, this
function actually gets used for non-current draw/read buffers when
checking if an FBO is complete from the driver's perspective. So,
instead of trying to just look at the attachment points that are
currently referenced by glDrawBuffers, look at all attachment points
to see if they're driver-supported formats. This appears to actually
be more in line with the intent of the spec, too.
Fixes a segfault in my upcoming fbo-clear-formats piglit test, and
hopefully bug #30278
2011-01-04 10:04:15 -08:00
Christoph Bumiller
cd1cf78828
Merge remote branch 'origin/nvc0'
2011-01-04 18:20:05 +01:00
Brian Paul
c94996f057
st/mesa: skip glDrawPixels/glBitmap-related code for ES build
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32560
2011-01-04 08:28:17 -07:00
Christoph Bumiller
4884ca5f67
nvc0: fix index size method value for u8 indices
2011-01-04 16:16:52 +01:00
Christoph Bumiller
2f08d872b2
nvc0: set the correct FP header bit for multiple colour outputs
2011-01-04 16:14:58 +01:00
Christoph Bumiller
6de94e1012
nvc0: delete memory caches and fence on screen destruction
2011-01-04 16:14:46 +01:00
Christoph Bumiller
471025929c
nvc0: use mov instead of ld for scalar const loads
2011-01-04 16:14:42 +01:00
Christoph Bumiller
c024c1d75f
nvc0: fix resource unmap after vertex push
2011-01-04 16:14:38 +01:00
Christoph Bumiller
e1e29395df
nvc0: use the proper typed opcodes in constant folding
2011-01-04 16:14:33 +01:00
Christoph Bumiller
92caa65c24
nvc0: demagic GP invocation count bitfield
2011-01-04 16:14:26 +01:00
Christoph Bumiller
997f84ff4e
nvc0: rewrite the 9097 GRAPH macros
2011-01-04 16:13:42 +01:00
Brian Paul
6a102074bb
i965g: include brw_types.h instead of GL/gl.h
...
Alternately, some search&replace could be used to replace all
occurances of GLint with int, etc. in the driver.
2011-01-04 07:24:38 -07:00
Brian Paul
c8a6a8bf2c
osmesa: pass context to _mesa_update_framebuffer_visual()
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32814
2011-01-04 07:13:52 -07:00
Vinson Lee
90b7a4cc1a
llvmpipe: Include p_compiler.h in lp_scene_queue.h.
...
Include p_compiler.h for boolean symbol.
2011-01-04 01:08:47 -08:00
Vinson Lee
f67dad7b82
llvmpipe: Include p_compiler.h in lp_perf.h.
...
Include p_compiler.h for int64_t symbol.
2011-01-04 01:01:18 -08:00
Vinson Lee
c72eb72ca6
llvmpipe: Include missing headers in lp_bld_depth.h
...
Include p_compiler.h for boolean symbol.
Include p_state.h for pipe_stencil_state symbol.
2011-01-04 00:54:14 -08:00
Vinson Lee
deb9a6ae79
llvmpipe: Include p_compiler.h in lp_bld_alpha.h.
...
Include p_compiler.h for boolean symbol.
Add forward declaration for gallivm_state struct.
2011-01-04 00:50:48 -08:00
Vinson Lee
7bfc54ea5d
i965g: Include p_compiler.h in intel_decode.h.
...
Include p_compiler.h for uint32_t symbol.
2011-01-04 00:44:23 -08:00
Vinson Lee
cf15e9b343
i965g: Include gl.h in intel_structs.h.
...
Include gl.h for OpenGL symbols.
2011-01-04 00:41:10 -08:00
Zhenyu Wang
bea6539abf
i965: Use last vertex convention for quad provoking vertex on sandybridge
...
Until we know how hw converts quads to polygon in beginning of
3D pipeline, for now unconditionally use last vertex convention.
Fix glean/clipFlat case.
2011-01-04 15:56:26 +08:00
Vinson Lee
9095947fa7
mesa: Include mtypes.h in renderbuffer.h.
...
Include mtypes.h for gl_buffer_index symbol.
This is a follow-up to commit 65da73c5f8 .
2011-01-03 22:42:12 -08:00
Zhenyu Wang
1df795f958
i965: Correct comment for gen6 fb write control message setting
...
Remove incorrect headless comment for gen6 fb write message.
Note current SIMD16 mode has already done right for control message.
2011-01-04 13:57:16 +08:00
Zhenyu Wang
9977297ad9
i965: Fix provoking vertex select in clip state for sandybridge
...
Triangle fan provoking vertex for first convention should be
'vertex 1' in sandybridge clip state.
Partly fix glean/clipFlat case
2011-01-04 13:51:39 +08:00
Brian Paul
7bd2c5d1f9
mesa: fix AL44 texture fetch function nybble -> float conversion
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32804
2011-01-03 17:16:48 -07:00
Eric Anholt
bd8e658884
intel: Bump libdrm configure.ac requirement for the gen6 BLT ring support.
2011-01-03 15:04:19 -08:00
Eric Anholt
30fef21aa3
intel: Use tri clears when we don't know how to blit clear the format.
...
Bug #32207 . Fixes ARB_texture_rg/fbo-clear-formats (see my
fbo-clear-formats piglit branch currently)
2011-01-03 13:28:26 -08:00
Eric Anholt
5f13c39484
mesa: Also report the number of renderbuffer alpha bits for GL_LUMINANCE_ALPHA.
...
Noticed by code inspection.
2011-01-03 13:28:26 -08:00
Eric Anholt
f45aea0ec9
mesa: Also report renderbuffer red/green size for GL_RED and GL_RG.
...
Noticed by code inspection.
2011-01-03 13:28:26 -08:00
Eric Anholt
059cca92a8
mesa: Use the common logic for "is this baseformat a color format?"
...
When figuring out whether a renderbuffer should be used to set the
visual bits of an FBO, we were missing important baseformats like
GL_RED, GL_RG, and GL_LUMINANCE.
2011-01-03 13:28:24 -08:00
Eric Anholt
beac6ee62a
mesa: Allow color renderbuffers besides just RGB and RGBA.
...
We did so already for textures to do ARB_fbo's
GL_ALPHA/GL_LUMINANCE/etc. support and for ARB_texture_rg's GL_RED and
GL_RG, but this path was missed.
2011-01-03 13:22:38 -08:00
Eric Anholt
2d29349c00
mesa: Update comment about the list of BaseFormats for gl_formats.
2011-01-03 13:22:38 -08:00
Eric Anholt
94ed481131
intel: Handle forced swrast clears before other clear bits.
...
Fixes a potential segfault on a non-native depthbuffer, and possible
accidental swrast fallback on extra color buffers.
2011-01-03 13:22:38 -08:00
Brian Paul
efbd33aff9
st/mesa: fix renderbuffer pointer check in st_Clear()
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=30694
NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-03 14:01:41 -07:00
Brian Paul
65da73c5f8
mesa: s/GLuint/gl_buffer_index/
2011-01-03 14:01:41 -07:00
Brian Paul
35266fbe4f
st/mesa: 80-column wrapping
2011-01-03 14:01:41 -07:00
Brian Paul
337f6e7b0e
st/mesa: 80-column wrapping
2011-01-03 14:01:41 -07:00
Chia-I Wu
ada9c78c29
autoconf: Fix --with-driver=xlib --enable-openvg.
...
st/egl should be enabled with --enable-openvg even the driver is xlib or
osmesa. Also, GLX_DIRECT_RENDERING should not be defined because libdrm
is not checked.
2011-01-04 01:13:49 +08:00
Chia-I Wu
cba7786954
docs: Add an example for EGL_DRIVERS_PATH.
...
EGL_DRIVERS_PATH can be set to test EGL without installation.
2011-01-04 00:54:55 +08:00
Dave Airlie
fb03510738
radeon: fix build on non-KMS systems.
...
Reported on irc by adamk.
2011-01-03 06:03:44 +10:00
Kenneth Graunke
1d40cf57f8
glsl: Really remove unused "instructions" parameter.
...
I forgot about this file, and it didn't show up until I tried to do
"make builtins" from a clean build.
2011-01-01 12:29:24 -08:00
Kenneth Graunke
81168351a7
glsl: Remove unused "instructions" parameter.
...
I think was used long ago, when we actually read the builtins into the
shader's instruction stream directly, rather than creating a separate
shader and linking the two. It doesn't seem to serve any purpose now.
2011-01-01 12:01:54 -08:00
Brian Paul
1eceb9d323
mapi: add missing newline in error message
2010-12-31 16:37:41 -07:00
Brian Paul
e227f4bf50
egl: add missing case in _eglError()
2010-12-31 09:14:25 -07:00
Henri Verbeet
59051ad443
st/mesa: Handle wrapped depth buffers in st_copy_texsubimage().
2010-12-31 07:49:59 +01:00
Vinson Lee
8d79765feb
util: Add forward declarations in u_index_modify.h.
2010-12-30 01:54:35 -08:00
Vinson Lee
8114cf9ad8
tgsi: Clean up header file inclusion in tgsi_text.h.
2010-12-30 01:51:27 -08:00
Vinson Lee
8bfb9061b7
graw: Include p_shader_tokens.h for tgsi_token struct.
2010-12-30 01:49:26 -08:00
Vinson Lee
20a0f34283
tgsi: Clean up header file inclusion in tgsi_sanity.h.
2010-12-30 01:40:53 -08:00