summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300/compiler: Add more info to struct rc_readerTom Stellard2011-04-305-16/+41
| | | | | For pair instructions we need a reference to both the arg and source.
* r300/compiler: Add remove dead sources passTom Stellard2011-04-305-0/+66
| | | | | | | | The instruction scheduler will sometimes leave orphaned sources when converting instructions from RGB to Alpha. If one of these orphaned sources has an index greater than the maximum temporary register index, then the compiler will incorrectly report "Too many hardware temporaries used". The dead sources pass cleans up these orphaned sources.
* docs: add ARB_ES2_compatibility in relnotes-7.11Marek Olšák2011-04-301-0/+1
|
* st/mesa: expose ARB_ES2_compatibility if GL_FIXED vertex format is supportedMarek Olšák2011-04-301-0/+6
| | | | | | Tested with softpipe and llvmpipe. Reviewed-by: Brian Paul <[email protected]>
* mesa: accept GL_FIXED in glVertexAttribPointer (ARB_ES2_compatibility)Marek Olšák2011-04-301-10/+13
| | | | | | | | GL_FIXED should not be accepted in the other gl*Pointer calls in OpenGL. There is a new piglit for this: arb_es2_compatibility-fixed-type. Reviewed-by: Brian Paul <[email protected]>
* mesa: fix error string, remove out of date commentBrian Paul2011-04-291-12/+1
|
* mesa: remove commented-out #includeBrian Paul2011-04-291-1/+0
|
* mesa: fix tarball creationThierry Vignaud2011-04-291-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* i965/gen6: Fix LogicOp handling for GL_COPY and/or floating-point RTs.Eric Anholt2011-04-291-5/+13
| | | | | | | | We were accidentally leaving blending enabled for LogicOp GL_COPY, which ARB_color_buffer_float/GL_RGBA32F-render (and friends) caught. Additionally, the GL spec says that no LogicOp should be done to floating-point targets, and the GPU gets really angry even if you say to LogicOp GL_COPY to float.
* i965: Remove dead entrypoints to state cache, rename the one that's left.Eric Anholt2011-04-298-157/+54
| | | | | | | | | | As we expanded the usage of the state cache, it grew extra functionality. However, with the recent state streaming rework, we're back to the state cache being used only for shader kernels, which is the piece of GPU state that's actually expensive to compute again from scratch, since it involves compiling. Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen4: Move the GS state to state streaming.Eric Anholt2011-04-295-98/+45
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen4: Move clip state to state streamingEric Anholt2011-04-294-106/+60
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965: Drop the now unused brw_cache_data() function.Eric Anholt2011-04-292-47/+0
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965: Fix up state dumping for SF state.Eric Anholt2011-04-291-2/+3
| | | | | | It was moved to state streaming a while back and this was left over. Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen4: Move VS state to state streaming.Eric Anholt2011-04-295-88/+53
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: Add a bunch of documentation to the register allocator.Eric Anholt2011-04-291-3/+65
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen6: Use the dynamic state base address to reduce relocations.Eric Anholt2011-04-299-46/+55
| | | | | | | | | | Now that all the dynamic state is streamed through the top of the batchbuffer, we can cut out many of our relocations to that state by using the base address. Improves 3DMMES taiji performance 3.3% +/- 0.4% (n=15). Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen6: Move scissor state to state streaming.Eric Anholt2011-04-297-52/+26
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965: Move sampler state to state streaming.Eric Anholt2011-04-299-238/+143
| | | | | | | | | | | Overall, across this series since the last set of numbers, gen6 3DMMES taiji performance has dropped 0.8% +/- 0.3% (n=15), probably due to the increased reissuing of state from some of the state objects that otherwise never changed, and increased occurrence of the per-batch overhead as we've increased how much we put in the batch BO without increasing the batch BO's size. Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen4: Move WM state to state streaming.Eric Anholt2011-04-295-192/+125
| | | | | | | The samplers are about to become streamed for gen6 performance, which would cause this unit to blow out the state cache. Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen6: Move the depth/stencil state to state streaming.Eric Anholt2011-04-295-131/+50
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen6: Move the blend state to state streaming.Eric Anholt2011-04-294-111/+40
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen6: Move the color calc state to state streaming.Eric Anholt2011-04-294-78/+21
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965: Move the CC VP to state streaming.Eric Anholt2011-04-2910-99/+32
| | | | | | | | This is in a way a revert of f5bb775fd1f333d8e579d07a5cac1ded2bd54a2f. The tiny win that had will be overwhelmed by the win of using the gen6 dynamic state base address. Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen6: Move the SF VP to state streaming.Eric Anholt2011-04-295-30/+20
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen6: Move the clip VP to state streaming.Eric Anholt2011-04-294-21/+22
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen6: Stream the VS push constants.Eric Anholt2011-04-295-35/+62
| | | | | | Improves 3DMMES taiji demo performance by 10.1% +/- 0.9% (n=15). Reviewed-by: Kenneth Graunke <[email protected]>
* i965/gen6: Stream the WM push constants.Eric Anholt2011-04-294-22/+19
| | | | | | | Improves 3DMMES taiji demo performance by 5.1% +/- 1.9% (n=15), by reducing CPU time spent thrashing around those tiny little constant BOs. Reviewed-by: Kenneth Graunke <[email protected]>
* i965: Give the push constants and pull constants unique function names.Eric Anholt2011-04-292-4/+4
| | | | | | This helps clarify profiling results. Reviewed-by: Kenneth Graunke <[email protected]>
* i965: Fix fragcoord_w on gen6 with 16-wide.Eric Anholt2011-04-291-5/+5
| | | | | | | | | | | | The payload regs can go all the way up to register 60+, so just give them 8 bits to be addressed by instead of 3-4 (which made source_w_reg of 8 end up 0). There's no reason to aggressively pack these fields, as they are just used as compiler information, where being easier to access is probably more important than shaving a byte or two off of the structure. Fixes piglit fragcoord_w. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36649
* meta: Don't ask for floating point textures if not ARB_texture_float.Eric Anholt2011-04-291-1/+2
| | | | | | | | | | | | | I was promoting to float for ARB_color_buffer_float unclamped, which failed when ARB_texture_float wasn't present. Since the metaops don't need results outside of [0,1] when not drawing to a floating point destination, they can just use a fixed point texture when floating point destinations are impossible. Fixes regression in fdo23670-depth_test when --enable-texture-float is not present. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36473
* mesa: fix a few incorrect error messagesBrian Paul2011-04-291-2/+2
|
* egl/wayland: Fix possible lockup in drm initializationBenjamin Franzke2011-04-292-2/+2
| | | | Lockup happens when wl_drm interface is not available.
* Add git_sha1.h to .gitignoreJon TURNEY2011-04-291-0/+1
| | | | | | | | | | | | | | | | | | | Since commit de579a1 "Include GIT SHA1 in GL version string" $ git status On branch master Your branch is ahead of 'origin/master' by 2 commits. Untracked files: (use "git add <file>..." to include in what will be committed) src/mesa/main/git_sha1.h nothing added to commit but untracked files present (use "git add" to track) Add git_sha1.h to .gitignore so git knows not to warn it is present but untracked Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
* r600g: print opcodes names instead of numbersMarek Olšák2011-04-291-1/+3
|
* docs: update relnotes-7.11Marek Olšák2011-04-291-0/+2
|
* docs: update GL3 statusMarek Olšák2011-04-291-2/+2
|
* mesa: remove unused variable bytesPerRowMarek Olšák2011-04-291-4/+0
|
* r600g: implement EXT_packed_floatMarek Olšák2011-04-293-0/+10
|
* st/mesa: support EXT_packed_floatMarek Olšák2011-04-293-0/+22
| | | | Reviewed-by: Brian Paul <[email protected]>
* mesa: implement EXT_packed_floatMarek Olšák2011-04-2910-5/+247
| | | | | Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* util: implement R11G11B10_FLOAT pack/unpack functionsMarek Olšák2011-04-294-1/+336
| | | | Reviewed-by: Brian Paul <[email protected]>
* mesa, util: move RGB9E5 conversion functions to gallium/utilMarek Olšák2011-04-297-17/+8
| | | | | | | Also use MAX3 and incorporate Ian's suggestion in texformat.c. I don't think wrapping u_format_rgb9e5.h in another header and thus making it more complicated is worth it.
* r600g: trivially implement EXT_texture_shared_exponentMarek Olšák2011-04-291-0/+5
| | | | Nothing else needed.
* util: implement R9G9B9E5 pack and unpack functionsMarek Olšák2011-04-291-5/+82
| | | | | | softpipe and llvmpipe support done (sampler only). Reviewed-by: Brian Paul <[email protected]>
* st/mesa: support EXT_texture_shared_exponentMarek Olšák2011-04-293-0/+23
| | | | Reviewed-by: Brian Paul <[email protected]>
* mesa: implement EXT_texture_shared_exponentMarek Olšák2011-04-2913-11/+438
| | | | | | | | | swrast support done. There is no renderbuffer support in swrast, because it's not required by the extension. Reviewed-by: Brian Paul <[email protected]>
* mesa: set reasonable defaults in update_wrapperMarek Olšák2011-04-291-2/+5
| | | | | | | | | I was wondering why I had been getting GL_RGBA for GL_RGB9_E5. Instead of setting GL_RGBA and CHAN_TYPE for most types, use the helper functions to obtain the info. Reviewed-by: Brian Paul <[email protected]>
* i915g: Enable S3TC texture supportChristopher Egert2011-04-292-6/+11
| | | | | | | Reviewed-by: Jakob Bornecrantz <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Christopher Egert <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* prog_print: Add support for printing the TXD opcode.Kenneth Graunke2011-04-281-0/+7
| | | | Reviewed-by: Brian Paul <[email protected]>