Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITY | Marek Olšák | 2010-10-24 | 1 | -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 Paul | 2010-10-23 | 1 | -4/+46 |
| | | | | This lets us get an integer texture format for integer pixel formats. | ||||
* | mesa: display list support for GL_EXT_texture_integer | Brian Paul | 2010-10-23 | 1 | -0/+144 |
| | |||||
* | mesa: plug in GL_EXT_texture_integer functions | Brian Paul | 2010-10-23 | 1 | -0/+7 |
| | |||||
* | mesa: regenerated API files for GL_EXT_texture_integer | Brian Paul | 2010-10-23 | 2 | -5116/+5294 |
| | |||||
* | mesa: simplify target_can_be_compressed() function | Brian Paul | 2010-10-23 | 1 | -8/+18 |
| | |||||
* | st/mesa: add format selection for signed/unsigned integer formats | Brian Paul | 2010-10-23 | 1 | -0/+120 |
| | |||||
* | mesa: added cases for GL_EXT_texture_integer | Brian Paul | 2010-10-23 | 1 | -0/+10 |
| | |||||
* | mesa: added cases for GL_EXT_texture_integer formats | Brian Paul | 2010-10-23 | 1 | -0/+20 |
| | |||||
* | mesa: compute _IntegerColor field in _mesa_test_framebuffer_completeness() | Brian Paul | 2010-10-23 | 1 | -0/+6 |
| | |||||
* | mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXT | Brian Paul | 2010-10-23 | 1 | -0/+11 |
| | |||||
* | mesa: added new gl_framebuffer::_IntegerColor field | Brian Paul | 2010-10-23 | 1 | -0/+3 |
| | |||||
* | mesa: added new gl_extensions::EXT_gpu_shader4 field | Brian Paul | 2010-10-23 | 1 | -0/+1 |
| | |||||
* | mesa: new glDrawPixels error check for integer formats | Brian Paul | 2010-10-23 | 1 | -1/+11 |
| | |||||
* | mesa: added _mesa_is_fragment_shader_active() helper | Brian Paul | 2010-10-23 | 1 | -0/+12 |
| | |||||
* | mesa: minor reformatting, clean-ups | Brian Paul | 2010-10-23 | 1 | -8/+10 |
| | |||||
* | mesa: _mesa_is_format_integer() function | Brian Paul | 2010-10-23 | 2 | -0/+15 |
| | |||||
* | mesa: _mesa_ClearColorIuiEXT() and _mesa_ClearColorIiEXT() | Brian Paul | 2010-10-23 | 2 | -0/+69 |
| | | | | For GL_EXT_texture_integer. | ||||
* | mesa: add pixel packing for unscaled integer types | Brian Paul | 2010-10-23 | 1 | -5/+496 |
| | | | | And add some missing GL_RG cases. | ||||
* | mesa: split up the image.c file | Brian Paul | 2010-10-23 | 20 | -4525/+4665 |
| | | | | | | New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions | ||||
* | mesa: simplify fbo format checking code | Brian Paul | 2010-10-23 | 1 | -13/+38 |
| | |||||
* | mesa: 80-column wrapping | Brian Paul | 2010-10-23 | 1 | -3/+6 |
| | |||||
* | i965: Add support for pull constants to the new FS backend. | Eric Anholt | 2010-10-22 | 10 | -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 Anholt | 2010-10-22 | 2 | -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 code | Brian Paul | 2010-10-22 | 1 | -1/+2 |
| | |||||
* | dri/nouveau: Force a "slow" Z clear if we're getting a new depth buffer. | Francisco Jerez | 2010-10-22 | 1 | -0/+12 |
| | |||||
* | Merge branch 'primitive-restart-cleanup' | Brian Paul | 2010-10-21 | 14 | -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 restart | Brian Paul | 2010-10-21 | 2 | -0/+7 |
| | | |||||
| * | vbo: support for primitive restart | Brian Paul | 2010-10-21 | 3 | -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 function | Brian Paul | 2010-10-21 | 3 | -0/+18 |
| | | |||||
| * | mesa: regenerated files with primitive restart | Brian Paul | 2010-10-21 | 2 | -3073/+3096 |
| | | |||||
| * | mesa: set/get primitive restart state | Brian Paul | 2010-10-21 | 3 | -6/+40 |
| | | |||||
| * | mesa: driver hook for primitive restart | Brian Paul | 2010-10-21 | 1 | -0/+1 |
| | | |||||
* | | i965: Be more aggressive in tracking live/dead intervals within loops. | Eric Anholt | 2010-10-21 | 1 | -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 Paul | 2010-10-21 | 1 | -0/+2 |
| | | |||||
* | | mesa: add missing cases for packing red/green images | Brian Paul | 2010-10-21 | 1 | -0/+48 |
| | | |||||
* | | mesa: add GL_RG case to _mesa_source_buffer_exists() | Brian Paul | 2010-10-21 | 1 | -0/+1 |
| | | | | | | | | Fixes failure with glReadPixels(format=GL_RG) | ||||
* | | i965: Correct scratch space allocation. | Eric Anholt | 2010-10-21 | 3 | -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 Anholt | 2010-10-21 | 1 | -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 Anholt | 2010-10-21 | 8 | -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 Anholt | 2010-10-21 | 1 | -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 Anholt | 2010-10-21 | 3 | -216/+266 |
|/ | |||||
* | mesa: Remove unused vtxfmt_tmp.h. | Chia-I Wu | 2010-10-21 | 1 | -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 Lee | 2010-10-20 | 1 | -1/+1 |
| | |||||
* | mesa: Remove FEATURE_ARB_shading_language_120 macro. | Kenneth Graunke | 2010-10-20 | 2 | -5/+0 |
| | | | | Everything should be able to support 1.20 at this point. | ||||
* | osmesa: link against libtalloc | Orion Poplawski | 2010-10-20 | 1 | -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 Anholt | 2010-10-19 | 2 | -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 Anholt | 2010-10-19 | 1 | -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 Anholt | 2010-10-19 | 2 | -1/+31 |
| | |||||
* | i965: Disable thread dispatch when the FS doesn't do any work. | Eric Anholt | 2010-10-19 | 3 | -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. |