summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-06-25glsl2: Start integrating ir_to_mesa.cpp into shader_api.hEric Anholt
The compiler is now called by the driver, and generates program instructions. Parameter lists are still not set up, so the driver chokes on it shortly thereafter.
2010-06-25glsl2: Use Mesa types instead of duping them into our program.h.Eric Anholt
2010-06-25glsl2: Fix dependencies. (at least partially)Eric Anholt
2010-06-24glsl2: Replace the GLSL compiler with the glsl2 project.Eric Anholt
2010-06-24glsl2: Wrap includes of C interfaces with extern "C".Eric Anholt
2010-06-24glsl2: Remove files that had been imported for standalone.Eric Anholt
2010-06-24glsl2: Stop .gitignoring the old standalone build system.Eric Anholt
2010-06-24glsl2: Move the Mesa IR codegen into mesa/shader/Eric Anholt
2010-06-24Merge branch 'glsl2-head' into glsl2Eric Anholt
This brings in the standalone GLSL compiler that we are planning on replacing the existing Mesa GLSL compiler. It currently targets GLSL 1.20 and the Mesa IR.
2010-06-24glsl2: Add a README file for the new compiler.Eric Anholt
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt
2010-06-24Make sure that symbols aren't multiply defined in the same scope.Ian Romanick
The assembly parser is already checking this, but we're relying on the symbol table handling it in glsl2.
2010-06-22llvmpipe: make geometry shaders and stream output workZack Rusin
2010-06-22gallium: add a timestamp disjoint queryZack Rusin
allows application to not only request the frequency of the TIME_ELAPSED clock but also to detect if that frequency was consistent throughout the entire bracketed range of graphics commands.
2010-06-22gallium: add a new queryZack Rusin
to figure out if gpu is finished with all of the previously issues commands
2010-06-22st/mesa: remove bogus assertions st_CompressedTexSubImage2DRoland Scheidegger
width/height may not be a multiple of blocksize (small mip levels / npot textures). This should be handled just fine. Fixes #28530.
2010-06-22r300g: optimize the immediate mode emission path a bitMarek Olšák
2010-06-22r300g: do not emit ZTOP every draw callMarek Olšák
2010-06-21swrast: fix incorrect specular highlights on backfacesTim Evans
See bug 28577 for details. NOTE: this is a candidate for the 7.8 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-06-21r300g: fix crash when destroying the context on r3xx-r4xxMarek Olšák
FDO bug #28652,
2010-06-21llvmpipe: s/lpfs/shader/José Fonseca
2010-06-21r300g: fix the KIL opcode for r3xx-r4xx (v4)Marek Olšák
2010-06-20r300g: fix assigning the texture cache region for 1 textureMarek Olšák
2010-06-20mapi: Add missing stdlib.h header for malloc declaration.Vinson Lee
2010-06-20i965g: Fix setup of immediate types for gen4 disasm.Vinson Lee
Caught by clang. Follow-up to commit 070bbd4fcd5d2b669b880b91730a7ad9d130e416.
2010-06-20r300g: manually assign texture cache regionsMarek Olšák
This should fix corrupted texturing on r3xx-r4xx.
2010-06-20r600g: handle DRM_API_HANDLE_TYPE_KMS in buffer_get_handleMarek Olšák
2010-06-20r300g: cleanup buffer_{from, get}_handleMarek Olšák
2010-06-20r300g: cleanup includesMarek Olšák
2010-06-20r300g: texture alignment code cleanup + use special alignment for AA texturesMarek Olšák
2010-06-19Revert "Fix image_matches_texture_obj() MaxLevel check"Will Dyson
This reverts commit a9ee95651131e27d5acf3d10909b5b7e5c8d3e92. It was based on a failure to understand how ther driver allocates memory, and causes a regression with Celestia. Set MaxLevel to dstLevel before allocating new mipmap level. The radeon driver will fail to allocate space for a new level that is outside of BaseLevel..MaxLevel. Set MaxLevel before allocating. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
2010-06-19r300g: fix random pixels appearing / incomplete renderingMarek Olšák
This should fix the FDO bug #28612. Also, these piglit tests have been fixed: - fbo-copypix - scissor-copypixels - copytexsubimage - texredefine Finally, 2 flushes in the transfer path are no longer needed.
2010-06-19r300g: output floats instead of halfs when passed through translateMarek Olšák
2010-06-19r300g: fix clamp and mirror_clamp wrap modes when used with nearest filteringMarek Olšák
2010-06-19r300g: more informative warning in END_CSMarek Olšák
2010-06-19r300g: improve the ZTOP conditionMarek Olšák
The real difference here is that ZTOP is now enabled if all stencil ops are set to KEEP. This improves performance.
2010-06-19r300g: fix up the CS size of the rasterizer stateMarek Olšák
2010-06-18intel: Finalize the miptree before mapping it for fallbacks.Eric Anholt
Fixes segfault in mipmap_view.c demo. Bug #27212.
2010-06-18i965: Fix the name of aa_coverage_slope in the improved AA line params.Eric Anholt
2010-06-18graw: add two examples using new register filesZack Rusin
2010-06-18gallium: add a temporary array register fileZack Rusin
like normal temporaries, but allows to define a number of distinct arrays, all of which make it explicit that they contain /indexable/ registers. as a side-effect we're adding support for multi-dimensional destination registers. The whole thing looks like this: DCL TEMPX[0][0..128] # 0 array with 128 registers ADD TEMPX[0][0], IN[0], IMM[0] ADD TEMPX[0][1], IN[0], IMM[0] ABS OUT[0], TEMPX[0][TEMP[0]]
2010-06-18gallium: add a new register file - immediate arrayZack Rusin
allows one to specify a safe (bound checked) array filled with immediates. it works just like a const array and declares much like our current immediates.
2010-06-18llvmpipe: Fix pointer dereference after free.José Fonseca
2010-06-18llvmpipe: limit the number of fragment shader variants kept aroundRoland Scheidegger
llvmpipe can create a large number of shader variants for a single shader (which are quite big), and they were only ever deleted if the shader itself was deleted. This is especially apparent in things like glean blendFunc where a new variant is created for every different subtest, chewing up all memory. This change limits the numbers of fragment shader variants (for all shaders) which are kept around to a fixed number. If that would be exceeded a fixed portion of the cached variants is deleted (since without tracking the used variants this involves flushing we don't want to delete only one). Always the least recently used variants (from all shaders together) are deleted. For now this is all per-context. Both the number of how many variants are cached (1024) as well as how many will be deleted at once (1/4 of the cache size) are just rough guesses and subject to further optimization.
2010-06-18r300g: fix hardlocks in occlusion queriesMarek Olšák
Early Z test (=ZTOP) must be disabled before a query is started, otherwise the GPU is dead. The order of emitted registers matters more than you might think. This fixes hardlocks in sauerbraten.
2010-06-18r300g: debug option for fake occlusion queriesMarek Olšák
2010-06-17draw: implement triangle strips with adjacency in geometry shaderZack Rusin
2010-06-17draw: implement triangle lists with adjacency support in gsZack Rusin
2010-06-17draw: fix a silly errorZack Rusin
2010-06-17draw: implement line strip adjacencyZack Rusin