summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2010-09-28i965: don't do calculation for delta_xy on sandybridgeZhenyu Wang
Sandybridge doesn't have Xstart/Ystart in payload header.
2010-09-28i965: only allow SIMD8 kernel on sandybridge nowZhenyu Wang
Until we fixed SIMD16 kernel, force to SIMD8 on sandybridge now.
2010-09-28i965: sandybridge pipe control workaround before write cache flushZhenyu Wang
Must issue a pipe control with any non-zero post sync op before write cache flush = 1 pipe control.
2010-09-28i965: Add all device ids for sandybridgeZhenyu Wang
2010-09-28i965: fix const register count for sandybridgeZhenyu Wang
Sandybridge's PS constant buffer payload size is decided from push const buffer command, incorrect size would cause wrong data in payload for position and vertex attributes. This fixes coefficients for tex2d/tex3d.
2010-09-28i965: Fix sampler on sandybridgeZhenyu Wang
Sandybridge has not much change on texture sampler with Ironlake.
2010-09-28i965: fix jump count on sandybridgeZhenyu Wang
Jump count is for 64bit long each, so one instruction requires 2 like on Ironlake.
2010-09-28i965: VS use SPF mode on sandybridge for nowZhenyu Wang
Until conditional instructions were fixed, use SPF mode instead for now.
2010-09-28i965: add sandybridge viewport state bo into validation listZhenyu Wang
2010-09-28i965: ignore quads for GS kernel on sandybridgeZhenyu Wang
Sandybridge's VF would convert quads to polygon which not required for GS then. Current GS state still would cause hang on lineloop.
2010-09-28i965: ff sync message change for sandybridgeZhenyu Wang
2010-09-28i965: fix point size setting in header on sandybridgeZhenyu Wang
2010-09-28i965: force zero in clipper to ignore RTAIndex on sandybridgeZhenyu Wang
2010-09-28i965: Fix color interpolation on sandybridgeZhenyu Wang
Don't double store position in vertex attribute. This makes color interpolation right by using barycentric coordinates.
2010-09-28i965: enable accumulator update in PS kernel too on sandybridgeZhenyu Wang
Accumulator update flag must be set for implicit update on sandybridge.
2010-09-28i965: new state dump for sandybridgeZhenyu Wang
Dump new state object on sandybridge for cc viewport, clip viewport, depth stencil, cc and blend state.
2010-09-28i965: disasm quarter and write enable instruction control on sandybridgeZhenyu Wang
2010-09-28i965: Add support for POW in gen6 FS.Eric Anholt
Fixes glsl-algebraic-pow-2 in brw_wm_glsl.c mode.
2010-09-28i965: Set up inputs to the fragment shader according to FP InputsRead.Eric Anholt
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.
2010-09-28i965: Add support for attribute interpolation on Sandybridge.Eric Anholt
Things are simpler these days thanks to barycentric interpolation parameters being handed in in the payload.
2010-09-28dri: Add GET_PROGRAM_NAME definition for Mac OS X.Vinson Lee
2010-09-27r300/compiler: Use rc_for_all_reads_src() in "dead constants" passTom Stellard
2010-09-27r300/compiler: radeon_remove_constants.c: fix indentationTom Stellard
2010-09-27r300/compiler: Print immediate values after "dead constants" passTom Stellard
2010-09-27r300/compiler: Add more helper functions for iterating through sourcesTom Stellard
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.
2010-09-28r300g: add support for 3D NPOT textures without mipmappingMarek Olšák
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
2010-09-28r300/compiler: fix shadow sampling with swizzled coordsMarek Olšák
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.
2010-09-28r300/compiler: do not use copy propagation if SaturateMode is usedMarek Olšák
NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300/compiler: fix projective mapping of 2D NPOT texturesMarek Olšák
NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300g: code cleanupsMarek Olšák
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.
2010-09-27i965: Add support for dFdx()/dFdy() to the FS backend.Eric Anholt
Fixes: glsl-fwidth glsl-derivs-swizzle
2010-09-27i965: Fix vector splitting RHS channel selection with sparse writemasks.Eric Anholt
Fixes: glsl-fs-all-02 glsl-fs-dot-vec2
2010-09-27i965: Handle all_equal/any_nequal in the new FS.Eric Anholt
These are generated for scalar operands instead of plain equal/nequal. But for scalars, they're the same anyway. +30 piglits.
2010-09-27i965: Remove swizzling of assignment to vector-splitting single-channel LHS.Eric Anholt
We'd end up reading some non-x component of the float RHS. +53 piglits.
2010-09-27i965: Fix up writemasked assignments in the new FS.Eric Anholt
Not sure how I managed to get tests to succeed without this. +54 piglits.
2010-09-27Remove unnescessary initializations of UpdateTexturePaletteIan Romanick
This is already NULL'ed in _mesa_init_driver_functions.
2010-09-27Remove GL_EXT_cull_vertexIan Romanick
This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
2010-09-27Remove GL_MESA_packed_depth_stencilIan Romanick
This extension was never enabled in any driver.
2010-09-27mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick
As per discussions at XDS.
2010-09-27mesa: Force GL_ARB_copy_buffer to always be enabledIan Romanick
As per discussions at XDS.
2010-09-25r300/compiler: Fix two mistakes in the presubtract optimization pass.Tom Stellard
1. We can't turn an instruction into a presubtract operation if it writes to one of the registers it reads from. 2. If we turn an instruction into a presubtract operation, we can't remove that intruction unless all readers can use the presubtract operation. This fixes fdo bug 30337. This is a candidate for the 7.9 branch.
2010-09-25intel: Remove unnecessary header.Vinson Lee
2010-09-24intel: Remove unnecessary headers.Vinson Lee
2010-09-24unichrome: Remove unnecessary header.Vinson Lee
2010-09-24intel: Fix implicit declaration of function '_mesa_meta_Bitmap' warning.Vinson Lee
Fix this GCC warning. intel_pixel_bitmap.c: In function 'intelBitmap': intel_pixel_bitmap.c:343: warning: implicit declaration of function '_mesa_meta_Bitmap'
2010-09-24intel: Improve some of the miptree debugging.Eric Anholt
2010-09-24intel: More reverting of the sw fallback for depth texture border color.Eric Anholt
The rest was done with 9aec1288eeae8e87adc9a99f377be536892941b2
2010-09-24intel: Add fallback debug to glGenerateMipmap.Eric Anholt
2010-09-24intel: Fix segfault on INTEL_DEBUG=fbo with unsupported framebuffers.Eric Anholt
2010-09-24i965: Add support for rendering to SARGB8 FBOs.Eric Anholt
Tested with fbo-generatemipmap-formats GL_EXT_texture_srgb. The test still fails on SLA8, though.