summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITYMarek Olšák2010-10-241-0/+3
| | | | | | As per the GL_ARB_framebuffer_object specification. Signed-off-by: Marek Olšák <[email protected]>
* st/mesa: be smarter choosing texture format for glDrawPixels()Brian Paul2010-10-231-4/+46
| | | | This lets us get an integer texture format for integer pixel formats.
* mesa: display list support for GL_EXT_texture_integerBrian Paul2010-10-231-0/+144
|
* mesa: plug in GL_EXT_texture_integer functionsBrian Paul2010-10-231-0/+7
|
* mesa: regenerated API files for GL_EXT_texture_integerBrian Paul2010-10-232-5116/+5294
|
* mesa: simplify target_can_be_compressed() functionBrian Paul2010-10-231-8/+18
|
* st/mesa: add format selection for signed/unsigned integer formatsBrian Paul2010-10-231-0/+120
|
* mesa: added cases for GL_EXT_texture_integerBrian Paul2010-10-231-0/+10
|
* mesa: added cases for GL_EXT_texture_integer formatsBrian Paul2010-10-231-0/+20
|
* mesa: compute _IntegerColor field in _mesa_test_framebuffer_completeness()Brian Paul2010-10-231-0/+6
|
* mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXTBrian Paul2010-10-231-0/+11
|
* mesa: added new gl_framebuffer::_IntegerColor fieldBrian Paul2010-10-231-0/+3
|
* mesa: added new gl_extensions::EXT_gpu_shader4 fieldBrian Paul2010-10-231-0/+1
|
* mesa: new glDrawPixels error check for integer formatsBrian Paul2010-10-231-1/+11
|
* mesa: added _mesa_is_fragment_shader_active() helperBrian Paul2010-10-231-0/+12
|
* mesa: minor reformatting, clean-upsBrian Paul2010-10-231-8/+10
|
* mesa: _mesa_is_format_integer() functionBrian Paul2010-10-232-0/+15
|
* mesa: _mesa_ClearColorIuiEXT() and _mesa_ClearColorIiEXT()Brian Paul2010-10-232-0/+69
| | | | For GL_EXT_texture_integer.
* mesa: add pixel packing for unscaled integer typesBrian Paul2010-10-231-5/+496
| | | | And add some missing GL_RG cases.
* mesa: split up the image.c fileBrian Paul2010-10-2320-4525/+4665
| | | | | | New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
* mesa: simplify fbo format checking codeBrian Paul2010-10-231-13/+38
|
* mesa: 80-column wrappingBrian Paul2010-10-231-3/+6
|
* i965: Add support for pull constants to the new FS backend.Eric Anholt2010-10-2210-105/+213
| | | | Fixes glsl-fs-uniform-array-5, but not 6 which fails in ir_to_mesa.
* i965: Move the FS disasm/annotation printout to codegen time.Eric Anholt2010-10-222-54/+35
| | | | | | This makes it a lot easier to track down where we failed when some code emit triggers an assert. Plus, less memory allocation for codegen.
* mesa: move declaration before codeBrian Paul2010-10-221-1/+2
|
* dri/nouveau: Force a "slow" Z clear if we're getting a new depth buffer.Francisco Jerez2010-10-221-0/+12
|
* Merge branch 'primitive-restart-cleanup'Brian Paul2010-10-2114-3165/+3348
|\ | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.10.html This branch is a re-do of the primitive-restart branch with all the intermediate/temporary stuff cleaned out.
| * st/mesa: support for primitive restartBrian Paul2010-10-212-0/+7
| |
| * vbo: support for primitive restartBrian Paul2010-10-213-86/+186
| | | | | | | | | | We handle splitting of glDrawArrays() calls into two primitives here so that drivers don't have to worry about it.
| * mesa: plug in primitive restart functionBrian Paul2010-10-213-0/+18
| |
| * mesa: regenerated files with primitive restartBrian Paul2010-10-212-3073/+3096
| |
| * mesa: set/get primitive restart stateBrian Paul2010-10-213-6/+40
| |
| * mesa: driver hook for primitive restartBrian Paul2010-10-211-0/+1
| |
* | i965: Be more aggressive in tracking live/dead intervals within loops.Eric Anholt2010-10-211-13/+41
| | | | | | | | | | | | Fixes glsl-fs-convolution-2, which was blowing up due to the array access insanity getting at the uniform values within the loop. Each temporary was considered live across the whole loop.
* | st/mesa: added cases for GL_COMPRESSED_RED/RG in st_choose_format()Brian Paul2010-10-211-0/+2
| |
* | mesa: add missing cases for packing red/green imagesBrian Paul2010-10-211-0/+48
| |
* | mesa: add GL_RG case to _mesa_source_buffer_exists()Brian Paul2010-10-211-0/+1
| | | | | | | | Fixes failure with glReadPixels(format=GL_RG)
* | i965: Correct scratch space allocation.Eric Anholt2010-10-213-12/+15
| | | | | | | | | | | | | | | | | | | | One, it was allocating increments of 1kb, but per thread scratch space is a power of two. Two, the new FS wasn't getting total_scratch set at all, so everyone thought they had 1kb and writes beyond 1kb would go stomping on a neighbor thread. With this plus the previous register spilling for the new FS, glsl-fs-convolution-1 passes.
* | i965: Don't emit register spill offsets directly into g0.Eric Anholt2010-10-211-6/+22
| | | | | | | | | | | | | | g0 is used by others, and is expected to be left exactly as it was dispatched to us. So manually move g0 into our message reg when spilling/unspilling and update the offset in the MRF. Fixes failures in texture sampling after having spilled a register.
* | i965: Add support for register spilling.Eric Anholt2010-10-218-55/+380
| | | | | | | | | | It can be tested with if (0) replaced with if (1) to force spilling for all virtual GRFs. Some simple tests work, but large texturing tests fail.
* | i965: Fix gl_FrontFacing emit on pre-gen6.Eric Anholt2010-10-211-1/+0
| | | | | | | | | | | | | | | | | | It's amazing this code worked. Basically, we would get lucky in register allocation and the tests using frontfacing would happen to allocate gl_FrontFacing storage and the instructions generating gl_FrontFacing but pointing at another register to the same hardware register. Noticed during register spilling debug, when suddenly they didn't get allocatd the same storage.
* | i965: Split register allocation out of the ever-growing brw_fs.cpp.Eric Anholt2010-10-213-216/+266
|/
* mesa: Remove unused vtxfmt_tmp.h.Chia-I Wu2010-10-211-603/+0
| | | | | It was used by the "neutral" tnl module that was dropped in 81ccb3e2ce708619f4c23537a237d61bdffdd35f.
* swrast: Print out format on unexpected failure in _swrast_DrawPixels.Vinson Lee2010-10-201-1/+1
|
* mesa: Remove FEATURE_ARB_shading_language_120 macro.Kenneth Graunke2010-10-202-5/+0
| | | | Everything should be able to support 1.20 at this point.
* osmesa: link against libtallocOrion Poplawski2010-10-201-1/+1
| | | | | | Otherwise consumers have to, and that's lame. Signed-off-by: Adam Jackson <[email protected]>
* i965: Use the new style of IF statement with embedded comparison on gen6.Eric Anholt2010-10-192-4/+113
| | | | | "Everyone else" does it this way, so follow suit. It's fewer instructions, anyway.
* i965: Set the source operand types for gen6 if/else/endif to integer.Eric Anholt2010-10-191-6/+6
| | | | | I don't think this should matter, but I'm not sure, and it's recommended by a kernel checker in fulsim.
* i965: Add EU emit support for gen6's new IF instruction with comparison.Eric Anholt2010-10-192-1/+31
|
* i965: Disable thread dispatch when the FS doesn't do any work.Eric Anholt2010-10-193-4/+49
| | | | | | This should reduce the cost of generating shadow maps, for example. No performance difference measured in nexuiz, though it does trigger this path.