summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* i965: fix jump count on sandybridgeZhenyu Wang2010-09-281-4/+6
| | | | | Jump count is for 64bit long each, so one instruction requires 2 like on Ironlake.
* i965: VS use SPF mode on sandybridge for nowZhenyu Wang2010-09-282-1/+5
| | | | Until conditional instructions were fixed, use SPF mode instead for now.
* i965: add sandybridge viewport state bo into validation listZhenyu Wang2010-09-281-1/+3
|
* i965: ignore quads for GS kernel on sandybridgeZhenyu Wang2010-09-281-1/+8
| | | | | Sandybridge's VF would convert quads to polygon which not required for GS then. Current GS state still would cause hang on lineloop.
* i965: ff sync message change for sandybridgeZhenyu Wang2010-09-281-2/+16
|
* i965: fix point size setting in header on sandybridgeZhenyu Wang2010-09-281-2/+5
|
* i965: force zero in clipper to ignore RTAIndex on sandybridgeZhenyu Wang2010-09-282-0/+2
|
* i965: Fix color interpolation on sandybridgeZhenyu Wang2010-09-281-3/+2
| | | | | Don't double store position in vertex attribute. This makes color interpolation right by using barycentric coordinates.
* i965: enable accumulator update in PS kernel too on sandybridgeZhenyu Wang2010-09-282-0/+6
| | | | Accumulator update flag must be set for implicit update on sandybridge.
* i965: new state dump for sandybridgeZhenyu Wang2010-09-281-5/+135
| | | | | Dump new state object on sandybridge for cc viewport, clip viewport, depth stencil, cc and blend state.
* i965: disasm quarter and write enable instruction control on sandybridgeZhenyu Wang2010-09-281-9/+61
|
* i965: Add support for POW in gen6 FS.Eric Anholt2010-09-283-25/+120
| | | | Fixes glsl-algebraic-pow-2 in brw_wm_glsl.c mode.
* i965: Set up inputs to the fragment shader according to FP InputsRead.Eric Anholt2010-09-283-31/+51
| | | | | | Sending down data that doesn't get read doesn't make any sense, and would make handling things like gl_FrontFacing and gl_PointCoord harder.
* i965: Add support for attribute interpolation on Sandybridge.Eric Anholt2010-09-286-13/+87
| | | | | Things are simpler these days thanks to barycentric interpolation parameters being handed in in the payload.
* dri: Add GET_PROGRAM_NAME definition for Mac OS X.Vinson Lee2010-09-281-0/+3
|
* r300/compiler: Use rc_for_all_reads_src() in "dead constants" passTom Stellard2010-09-271-27/+24
|
* r300/compiler: radeon_remove_constants.c: fix indentationTom Stellard2010-09-271-75/+75
|
* r300/compiler: Print immediate values after "dead constants" passTom Stellard2010-09-273-0/+18
|
* r300/compiler: Add more helper functions for iterating through sourcesTom Stellard2010-09-272-35/+102
| | | | | rc_for_all_reads_src() and rc_pair_for_all_reads_arg() pass references to instruction sources to the callback so they can be modified directly.
* r600g: fix db flush breaking config stateDave Airlie2010-09-281-9/+9
|
* r300g: fix swizzling of texture border colorMarek Olšák2010-09-281-34/+7
| | | | NOTE: This is a candidate for the 7.9 branch.
* r300g: add support for 3D NPOT textures without mipmappingMarek Olšák2010-09-287-27/+90
| | | | | | | | | | | | | | | | | | | | | | | The driver actually creates a 3D texture aligned to POT and does all the magic with texture coordinates in the fragment shader. It first emulates REPEAT and MIRRORED wrap modes in the fragment shader to get the coordinates into the range [0, 1]. (already done for 2D NPOT) Then it scales them to get the coordinates of the NPOT subtexture. NPOT textures are now less of a lie and we can at least display something meaningful even for the 3D ones. Supported wrap modes: - REPEAT - MIRRORED_REPEAT - CLAMP_TO_EDGE (NEAREST filtering only) - MIRROR_CLAMP_TO_EDGE (NEAREST filtering only) - The behavior of other CLAMP modes is undefined on borders, but they usually give results very close to CLAMP_TO_EDGE with mirroring working perfectly. This fixes: - piglit/fbo-3d - piglit/tex3d-npot
* r300/compiler: fix shadow sampling with swizzled coordsMarek Olšák2010-09-281-4/+5
| | | | | | | | Taking the W component from coords directly ignores swizzling. Instead, take the component which is mapped to W in the TEX instruction parameter. The same for Z. NOTE: This is a candidate for the 7.9 branch.
* r300/compiler: do not use copy propagation if SaturateMode is usedMarek Olšák2010-09-281-1/+2
| | | | NOTE: This is a candidate for the 7.9 branch.
* r300/compiler: fix projective mapping of 2D NPOT texturesMarek Olšák2010-09-281-0/+39
| | | | NOTE: This is a candidate for the 7.9 branch.
* r300g: code cleanupsMarek Olšák2010-09-283-180/+156
| | | | | | | | | Some random stuff I had here. 1) Fixed some misleading comments. 2) Removed fake_npot, since it's redundant. 3) lower_texture_rect -> scale_texcoords 4) Reordered and reindented some TEX transform code.
* i965: Add support for dFdx()/dFdy() to the FS backend.Eric Anholt2010-09-271-0/+71
| | | | | | Fixes: glsl-fwidth glsl-derivs-swizzle
* i965: Fix vector splitting RHS channel selection with sparse writemasks.Eric Anholt2010-09-271-3/+8
| | | | | | Fixes: glsl-fs-all-02 glsl-fs-dot-vec2
* i965: Handle all_equal/any_nequal in the new FS.Eric Anholt2010-09-271-2/+2
| | | | | These are generated for scalar operands instead of plain equal/nequal. But for scalars, they're the same anyway. +30 piglits.
* i965: Remove swizzling of assignment to vector-splitting single-channel LHS.Eric Anholt2010-09-271-2/+0
| | | | We'd end up reading some non-x component of the float RHS. +53 piglits.
* i965: Fix up writemasked assignments in the new FS.Eric Anholt2010-09-271-1/+1
| | | | Not sure how I managed to get tests to succeed without this. +54 piglits.
* glsl: Add validation that a swizzle only references valid channels.Eric Anholt2010-09-271-0/+18
| | | | Caught the bug in the previous commit.
* glsl: Fix broadcast_index of lower_variable_index_to_cond_assign.Eric Anholt2010-09-271-1/+1
| | | | | | | | | | It's trying to get an int smeared across all channels, not trying to get a 1:1 mapping of a subset of a vector's channels. This usually ended up not mattering with ir_to_mesa, since it just smears floats into every chan of a vec4. Fixes: glsl1-temp array with swizzled variable indexing
* Remove unnescessary initializations of UpdateTexturePaletteIan Romanick2010-09-274-5/+0
| | | | This is already NULL'ed in _mesa_init_driver_functions.
* Regenerate files changed by previous commitIan Romanick2010-09-279-2523/+2395
|
* Remove GL_EXT_cull_vertexIan Romanick2010-09-2713-1885/+1719
| | | | | This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
* Remove GL_MESA_packed_depth_stencilIan Romanick2010-09-274-19/+3
| | | | This extension was never enabled in any driver.
* mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick2010-09-2714-41/+9
| | | | As per discussions at XDS.
* mesa: Force GL_ARB_copy_buffer to always be enabledIan Romanick2010-09-274-12/+6
| | | | As per discussions at XDS.
* d3d1x: work around crash in widlLuca Barbieri2010-09-282-2/+12
|
* d3d11: fix reference counting so devices get freedLuca Barbieri2010-09-271-0/+2
|
* softpipe: fix swizzling of texture border colorBrian Paul2010-09-273-3/+29
| | | | | We ask the texture tile cache to swizzle the color for us since that's where the view/swizzling info is available.
* llvmpipe: fix swizzling of texture border colorBrian Paul2010-09-271-2/+2
| | | | | | | | The pipe_sampler_view's swizzle terms also apply to the texture border color. Simply move the apply_sampler_swizzle() call after we fetch the border color. Fixes many piglit texwrap failures.
* r600g: fix occlusion query after change to block structureJerome Glisse2010-09-271-3/+3
| | | | | | | block->reg point to register value not block->pm4 which point to packet. Signed-off-by: Jerome Glisse <[email protected]>
* softpipe: allocate tile data on demandBrian Paul2010-09-272-42/+113
| | | | | | | | | | | | | | | | Changes in v2: - Invalidate last_tile_addr on any change, fixing regressions - Correct coding style Currently softpipe ends up allocating more than 200 MB of memory for each context due to the tile caches. Even worse, this memory is all explicitly cleared, which means that the kernel must actually back it with physical RAM right away. This change allocates tile memory on demand. Signed-off-by: Brian Paul <[email protected]>
* d3d1x: fix MapLuca Barbieri2010-09-271-4/+6
|
* d3d1x: rework DXGI for occlusion testing and default width/heightLuca Barbieri2010-09-273-29/+174
|
* d3d1x: put proper calling convention in headers, fixes 64-bit buildsLuca Barbieri2010-09-272-2/+2
|
* d3d1x: properly support specifying MipLevels as 0Luca Barbieri2010-09-271-6/+15
|
* d3d1x: support centroid interpolationLuca Barbieri2010-09-271-10/+16
|