Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/egl: Do not finish a fence that is NULL. | Chia-I Wu | 2010-10-14 | 1 | -2/+4 |
| | | | | i915g would dereference the NULL pointer. | ||||
* | st/egl: Access _EGLConfig directly. | Chia-I Wu | 2010-10-14 | 1 | -31/+26 |
| | | | | | Drop the use of SET_CONFIG_ATTRIB. Fix the value of EGL_SAMPLE_BUFFERS along the way. | ||||
* | egl: Access config attributes directly. | Chia-I Wu | 2010-10-14 | 3 | -143/+76 |
| | | | | Replace SET_CONFIG_ATTRIB/GET_CONFIG_ATTRIB by direct dereferences. | ||||
* | egl: Use attribute names as the _EGLConfig member names. | Chia-I Wu | 2010-10-14 | 2 | -69/+97 |
| | | | | | This makes _EGLConfig more accessible and scales better when new attributes are added. | ||||
* | r600g: select linear interpolate if tgsi input requests it | Dave Airlie | 2010-10-14 | 1 | -0/+3 |
| | |||||
* | r600g: fixup typo in macro name | Dave Airlie | 2010-10-14 | 1 | -1/+1 |
| | |||||
* | r600g: fixup pos/face ena/address properly | Dave Airlie | 2010-10-14 | 1 | -8/+17 |
| | |||||
* | r600g: only pick centroid coordinate when asked. | Dave Airlie | 2010-10-14 | 2 | -1/+4 |
| | | | | TGSI tells us when to use this, its not hooked up from GLSL to MESA to TGSI yet though. | ||||
* | Revert "i965: fallback lineloop on sandybridge for now" | Zhenyu Wang | 2010-10-14 | 1 | -7/+0 |
| | | | | This reverts commit 73dab75b4165f7d2214a68d4ba8e3cb7aab9b4ac. | ||||
* | i965: Fix GS hang on Sandybridge | Zhenyu Wang | 2010-10-14 | 4 | -14/+46 |
| | | | | | | Don't use r0 for FF_SYNC dest reg on Sandybridge, which would smash FFID field in GS payload, that cause later URB write fail. Also not use r0 in any URB write requiring allocate. | ||||
* | i965: Add support for rescaling GL_TEXTURE_RECTANGLE coords to new FS. | Eric Anholt | 2010-10-13 | 1 | -5/+40 |
| | |||||
* | r600g: Fix texture sampling with swizzled coords | Fredrik Höglund | 2010-10-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: drop unused context members | Dave Airlie | 2010-10-14 | 1 | -2/+0 |
| | |||||
* | mesa: Clean up various 'unused parameter' warnings in shaderapi | Ian Romanick | 2010-10-13 | 1 | -6/+14 |
| | |||||
* | mesa: Clean up two 'comparison between signed and unsigned' warnings | Ian Romanick | 2010-10-13 | 1 | -2/+2 |
| | |||||
* | mesa: Refactor validation of shader targets | Ian Romanick | 2010-10-13 | 1 | -10/+33 |
| | | | | | | | | | Actually validate that the implementation supports the particular shader target as well. Previously if a driver only supported vertex shaders, for example, glCreateShaderObjectARB would gladly create a fragment shader. NOTE: this is a candidate for the 7.9 branch. | ||||
* | mesa: Silence unused variable warning | Ian Romanick | 2010-10-13 | 1 | -0/+1 |
| | |||||
* | linker: Reject shaders that have unresolved function calls | Ian Romanick | 2010-10-13 | 1 | -2/+6 |
| | | | | | | | | | | This really amounts to just using the return value from link_function_calls. All the work was being done, but the result was being ignored. Fixes piglit test link-unresolved-funciton. NOTE: this is a candidate for the 7.9 branch. | ||||
* | glsl: Initialize variable in ir_derefence_array::constant_expression_value | Vinson Lee | 2010-10-13 | 1 | -1/+1 |
| | | | | | | | Completely initialize data passed to ir_constant constructor. Fixes piglit glsl-mat-from-int-ctor-03 valgrind uninitialized value error on softpipe. | ||||
* | llvmpipe: Generalize the x8z24 fast path to all depth formats. | José Fonseca | 2010-10-13 | 1 | -111/+82 |
| | | | | | | | | | | | | | Together with the previous commit, this generalize the benefits of d2cf757f44f4ee5554243f3279483a25886d9927 to all depth formats, in particular: - simpler float -> 24unorm conversion - avoid unsigned comparisons (not directly supported on SSE) by aligning to the least significant bit - avoid unecessary/repeated mask ANDing Verified with trivial/tri-z that the exact same assembly is produced for X8Z24. | ||||
* | gallivm: More accurate float -> 24bit & 32bit unorm conversion. | José Fonseca | 2010-10-13 | 1 | -40/+86 |
| | |||||
* | gallivm: work-around trilinear mipmap filtering regression with LLVM 2.8 | Brian Paul | 2010-10-13 | 1 | -0/+20 |
| | | | | The bug only happens on the AOS / fixed-pt path. | ||||
* | gallivm: Remove unnecessary header. | Vinson Lee | 2010-10-13 | 1 | -1/+0 |
| | |||||
* | x11: fix breakage from gl_config::visualType removal | Brian Paul | 2010-10-13 | 3 | -5/+6 |
| | |||||
* | llvmpipe: Unbreak Z32_FLOAT. | José Fonseca | 2010-10-13 | 3 | -64/+93 |
| | | | | | | | | | | | | | Z32_FLOAT uses <4 x float> as intermediate/destination type, instead of <4 x i32>. The necessary bitcasts got removed with commit 5b7eb868fde98388d80601d8dea39e679828f42f Also use depth/stencil type and build contexts consistently, and make the depth pointer argument a ordinary <i8 *>, to catch this sort of issues in the future (and also to pave way for Z16 and Z32_FLOAT_S8_X24 support). | ||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 789 | -5701/+5698 |
| | |||||
* | Drop GLframebuffer typedef and just use struct gl_framebuffer | Kristian Høgsberg | 2010-10-13 | 54 | -128/+127 |
| | |||||
* | Rename GLvisual and __GLcontextModes to struct gl_config | Kristian Høgsberg | 2010-10-13 | 99 | -190/+177 |
| | |||||
* | gl: Remove unused GLcontextModes fields | Kristian Høgsberg | 2010-10-13 | 10 | -55/+14 |
| | |||||
* | Get rid of GL/internal/glcore.h | Kristian Høgsberg | 2010-10-13 | 10 | -12/+133 |
| | | | | | | | __GLcontextModes is always only used as an implementation internal struct at this point and we shouldn't install glcore.h anymore. Anything that needs __GLcontextModes should just include the struct in its headers files directly. | ||||
* | gallivm: only use lp_build_conv 4x4f -> 1x16 ub fastpath with sse2 | Roland Scheidegger | 2010-10-13 | 1 | -19/+5 |
| | | | | | | | | This is relying on lp_build_pack2 using the sse2 pack intrinsics which handle clamping. (Alternatively could have make it use lp_build_packs2 but it might not even produce more efficient code than not using the fastpath in the first place.) | ||||
* | r600g: fix stencil export for evergreen harder | Dave Airlie | 2010-10-13 | 2 | -3/+3 |
| | |||||
* | r600g: fix relative addressing when splitting constant accesses | Stephan Schmid | 2010-10-13 | 1 | -0/+2 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: add missing eg reg definition | Dave Airlie | 2010-10-13 | 1 | -0/+3 |
| | |||||
* | r600g: evergreen add stencil export bit | Dave Airlie | 2010-10-13 | 1 | -0/+5 |
| | |||||
* | r600g: use blitter for hw copy region | Dave Airlie | 2010-10-13 | 1 | -2/+31 |
| | | | | | at the moment depth copies are failing (piglit depth-level-clamp) so use the fallback for now until get some time to investigate. | ||||
* | r600g: drop all use of unsigned long | Dave Airlie | 2010-10-13 | 2 | -11/+11 |
| | | | | this changes size on 32/64 bit so is definitely no what you want to use here. | ||||
* | r600g: fix transfer stride. | Dave Airlie | 2010-10-13 | 1 | -0/+3 |
| | | | | fixes segfaults | ||||
* | r600g: remove bpt and start using pitch_in_bytes/pixels. | Dave Airlie | 2010-10-13 | 4 | -12/+20 |
| | | | | | this mirror changes in r300g, bpt is kinda useless when it comes to some of the non-simple texture formats. | ||||
* | r600g: rename pitch in texture to pitch_in_bytes | Dave Airlie | 2010-10-13 | 4 | -14/+14 |
| | |||||
* | r600g: use common texture object create function | Dave Airlie | 2010-10-13 | 1 | -33/+41 |
| | |||||
* | r600g: split out miptree setup like r300g | Dave Airlie | 2010-10-13 | 1 | -12/+43 |
| | | | | just a cleanup step towards tiling | ||||
* | r600g: add copy into tiled texture | Dave Airlie | 2010-10-13 | 1 | -3/+22 |
| | |||||
* | r600g: the vs/ps const arrays weren't actually being used. | Dave Airlie | 2010-10-13 | 2 | -16/+0 |
| | | | | completely removed them. | ||||
* | r600g: reduce size of context structure. | Dave Airlie | 2010-10-13 | 2 | -4/+35 |
| | | | | | this thing will be in the cache a lot, so having massive big struct arrays inside it won't be helping anyone. | ||||
* | tdfx: Silence unused variable warning on non-debug builds. | Vinson Lee | 2010-10-12 | 1 | -0/+1 |
| | | | | | | Fixes this GCC warning. tdfx_texman.c: In function 'tdfxTMMoveOutTM_NoLock': tdfx_texman.c:897: warning: unused variable 'shared' | ||||
* | r600g: store samplers/views across blit when we need to modify them | Dave Airlie | 2010-10-13 | 4 | -31/+66 |
| | | | | also fixup framebuffer state copies to avoid bad state. | ||||
* | r600g: fix scissor/cliprect confusion | Dave Airlie | 2010-10-13 | 2 | -100/+10 |
| | | | | | gallium calls them scissors, but r600 hw like r300 is better off using cliprects to implement them as we can turn them on/off a lot easier. | ||||
* | r600g: fix depth0 setting | Dave Airlie | 2010-10-13 | 1 | -2/+2 |
| | |||||
* | r300: Silence uninitialized variable warning. | Vinson Lee | 2010-10-12 | 1 | -0/+1 |
| | | | | | | | Fixes this GCC warning. r300_state.c: In function 'r300InvalidateState': r300_state.c:2247: warning: 'hw_format' may be used uninitialized in this function r300_state.c:2247: note: 'hw_format' was declared here |