Commit Graph

35384 Commits

Author SHA1 Message Date
Corbin Simpson e54164b4e3 auxiliary/util: Add SM3 meta-cap list. 2010-07-05 14:59:12 -07:00
Roland Scheidegger 3ed0a099c7 llvmpipe: wait for queries being finished when asked for it or before deletion
This fixes bug #28757, though does not yet address the issue that fences aren't
always emitted.
2010-07-05 17:17:50 +02:00
Vinson Lee a3b0aaf26f i915g: Remove unnecessary header. 2010-07-04 11:34:15 -07:00
Jakob Bornecrantz 2d818ed0f8 i915g: Add flag to not send commands to hw 2010-07-04 13:32:02 +01:00
Jakob Bornecrantz 34bd0569d3 i915g: If the kernel reject the batchbuffer print it then assert 2010-07-04 13:32:02 +01:00
Jakob Bornecrantz 50f17a001f i915g: Minor cleanups 2010-07-04 13:32:02 +01:00
Jakob Bornecrantz 57fc2ad7a1 i915g: Make batchbuffer flush function not be inline 2010-07-04 13:32:02 +01:00
Jakob Bornecrantz ded664b1ac i915g: Rename texture state to map state 2010-07-04 13:32:01 +01:00
Jakob Bornecrantz 8b122bdf6c i915g: Move fragment state to its own file 2010-07-04 13:32:01 +01:00
Jakob Bornecrantz d64561472b i915g: Move static state to its own file 2010-07-04 13:32:01 +01:00
Jakob Bornecrantz 7174038e29 i915g: Don't dirty dynamic state if it hasn't changed 2010-07-04 13:32:01 +01:00
Jakob Bornecrantz 22d4d5fc3f i915g: Don't flush after blit 2010-07-04 13:32:01 +01:00
Jakob Bornecrantz 62bcf2e6ad i915g: Don't flush empty batchbuffers 2010-07-04 13:32:01 +01:00
Jakob Bornecrantz ed5ce78b81 gallium: Make trivial examples use target helpers 2010-07-04 13:31:55 +01:00
Jakob Bornecrantz abbb96b2fe gallium: Fix compilation of trivial quad-tex 2010-07-04 13:09:13 +01:00
Vinson Lee 1f0bcce6be st/egl: Remove unnecessary headers. 2010-07-03 19:28:31 -07:00
Chia-I Wu b365b150a1 docs: Update EGL doc.
Updated for the reorganization of st/egl targets.
2010-07-03 17:20:52 +08:00
Chia-I Wu 40ef298641 mesa: Fix OpenGL ES-only builds.
Check FEATURE_GL in _mesa_init_shader_dispatch and
_mesa_init_shader_uniform_dispatch.  OpenGL ES can not and does not use
_mesa_init_<...>_dispatch.  This is supposed to be temporary.  Ideally,
a more flexible way for initializing dispatch tables should be
developed.
2010-07-03 16:48:36 +08:00
nobled c43ab4fe1f egl: Always use EGLAPIENTRY in api function prototypes
Fixes the build on Windows.
2010-07-03 16:36:43 +08:00
Vinson Lee fbc4b88e76 gallivm: Remove unnecessary headers. 2010-07-03 01:04:50 -07:00
Marek Olšák 0e6d7ce017 r300g: fix warnings 2010-07-03 04:32:41 +02:00
Tom Stellard 7da9e1e61b r300/compiler: Fix loop unrolling 2010-07-03 04:32:41 +02:00
Tom Stellard f381c52081 r300/compiler: Use hardware flow control instructions for loops on r500. 2010-07-03 04:32:31 +02:00
Tom Stellard 3c3b7e02eb r300g: Fix typo in r300_reg.h 2010-07-03 04:27:09 +02:00
Tom Stellard 0dbdcb4321 r300/compiler: Don't continue copy propagation inside loops. 2010-07-03 04:27:09 +02:00
Tom Stellard 7f57530943 r300/compiler: Print debug info for flow control instructions. 2010-07-03 04:27:09 +02:00
Tom Stellard 82d0602c1f r300/compiler: Enable hardware IF statements for r500 cards. 2010-07-03 04:27:09 +02:00
Tom Stellard 1732751242 r300/compiler: In the peephole optimizer, ELSE should mark the end of a
block.
2010-07-03 04:27:09 +02:00
Tom Stellard 29a1d6aee7 r300/compiler: Correctly calculate the max number of iterations for loops. 2010-07-03 04:27:09 +02:00
Tom Stellard 697d666d78 r300/compiler: Handle loops in deadcode analysis.
This also allows us to split the loop emulation into two phases.  A
tranformation phase which either unrolls loops or prepares them to be
emulated, and the emulation phase which unrolls remaining loops until the
instruction limit is reached.  The second phase is completed after the
deadcode analysis in order to get a more accurate count of the number of
instructions in the body of loops.
2010-07-03 04:27:09 +02:00
Brian Paul 91c37599f6 osmesa: remove old renderbuffer before adding new
Fixes fd.o bug 10966 when OSMesaMakeCurrent() was called twice.

NOTE: This is a candidate for the 7.8 branch.
2010-07-02 18:22:53 -06:00
Brian Paul 7cc58c1992 mesa: updated instruction comments 2010-07-02 18:22:53 -06:00
Brian Paul ae8164a67b mesa: add geometry shader fields to gl_shader_program
These 3 fields are per shader-program.  Copy them into the geometry
program at link time for convenient access later.

Also, add some missing glGetProgramiv() queries.
2010-07-02 15:36:14 -06:00
José Fonseca d981bde384 gallivm: Do 4ubyte AoS texture filtering for any format that can be expressed.
Except if it has only one channel, as it would take the same number of
instructions.
2010-07-02 18:45:49 +01:00
José Fonseca e70b20fa83 gallivm: Use util_format_description::fetch_rgba_8unorm() when available. 2010-07-02 18:45:49 +01:00
José Fonseca a2d360b915 util: Add a fetch_rgba_8unorm.
Not always implemented, but useful in situations where we want 8unorms
and the samples comes as 8unorms as we needlessly convert to/from
floats.
2010-07-02 18:45:49 +01:00
José Fonseca 7071eefdb2 gallivm: Support multiple pixels in lp_build_fetch_rgba_aos().
This allows to do the unpacking of formats that fit in 4 x unorm8 in
parallel, 4 pixels at a time.
2010-07-02 18:45:49 +01:00
José Fonseca eb20c57f03 gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.c
It will be more useful here.
2010-07-02 18:45:49 +01:00
José Fonseca bb1546f55b gallivm: Move gather functions to its own module.
They need to grow, and they provide basic functionality which is not
specific to sampling.
2010-07-02 18:45:49 +01:00
José Fonseca e29ef44cf1 gallivm: Check inputs/outputs in lp_build_conv() 2010-07-02 18:45:49 +01:00
José Fonseca 9b69545c42 util: Expose util_format_fits_8unorm(). 2010-07-02 18:45:48 +01:00
Brian Paul 6e83420ee0 mesa: fix texenv generation when num color bufs == 0
Before, if there were no color buffers enabled (with glDrawBuffers(GL_NONE))
when the texenv program was generated, we'd emit writes to OUTPUT[1] but
the OutputsWritten mask was 0.  This inconsistency caused an assertion to
fail later in the Mesa->TGSI translation.

Fixes fd.o bug 28169

NOTE: this is a candidate for the 7.8 branch (and depends on commit
b6b9b17d27).
2010-07-02 10:16:08 -06:00
Brian Paul 7a5a0b205e softpipe: fix incorrect blend func index passed to blend_quad()
Need to pass the index indicating which blend terms to use, not which
color buffer we're blending into.

Rename the parameter to blend_quad() and add comments to be more clear
about this.
2010-07-02 09:56:57 -06:00
Brian Paul fbc6c316d2 softpipe: better assertions 2010-07-02 09:53:08 -06:00
Brian Paul 291bcfd831 mesa: add missing error checks in _mesa_program_parameteri() 2010-07-02 09:09:06 -06:00
Brian Paul e3c961de36 main: change some GS field types, added comments 2010-07-02 09:07:36 -06:00
Brian Paul b6b9b17d27 mesa: make the number of draw buffers part of the texenv program key state
All the state that effects the program should be in the key.
This didn't help with bug 28169 but is a good fix anyway.

NOTE: this is a low-priority candidate for the 7.8 branch.  In practice,
this issue might never be hit.
2010-07-02 08:14:54 -06:00
Brian Paul e845765f0f gallium/cso: check for set_vertex_sampler_views != NULL before calling it
Not all drivers implement this method.
Fixes regression reported by Chris Rankin and bug 28889.
2010-07-02 08:08:22 -06:00
José Fonseca 53d3f0c788 mesa: Silence warning. 2010-07-02 11:50:01 +01:00
José Fonseca 3cc4301c14 gallivm: Code generate YUV format unpacking. 2010-07-02 11:50:01 +01:00