Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i915g: Try to do better in the shader compiler. | Stéphane Marchesin | 2011-06-29 | 3 | -20/+41 |
| | | | | | | - Copy i915c's support for phases, that should allow us to run a coupe more shaders. - Fix the error messages. - Still try to proceed when we get a shader that's too long. | ||||
* | i915g: Move definition of M_PI in i915_fpc_translate.c | Jon TURNEY | 2011-06-29 | 1 | -5/+3 |
| | | | | | | | | Move defintion of M_PI (for the benefit of <math.h> which do not define it), to before the first use of it Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | i915g: Fix unimplemented Abs comment. | Stéphane Marchesin | 2011-06-29 | 1 | -1/+1 |
| | |||||
* | i915g: If we have a program, that means the other fields are ours and we can ↵ | Stéphane Marchesin | 2011-06-28 | 1 | -3/+5 |
| | | | | | | free them. Otherwise they probably belong to draw. | ||||
* | i915g: Don't overflow the program buffer. | Stéphane Marchesin | 2011-06-28 | 1 | -13/+25 |
| | | | | Otherwise it corrupts other fields of the struct and hilarity ensues. | ||||
* | i915g: Update the TODO with another idea. | Stéphane Marchesin | 2011-06-28 | 1 | -0/+2 |
| | |||||
* | i915g: Fix comment about sin/cos constants. | Stéphane Marchesin | 2011-06-28 | 1 | -2/+2 |
| | |||||
* | i915g: Fix staging texture uploads a bit. | Stéphane Marchesin | 2011-06-28 | 1 | -5/+1 |
| | | | | They still look corrupted, but at least now they don't look tiled any more. | ||||
* | i915g: Add a debug_printf when we get the Abs flag. | Stéphane Marchesin | 2011-06-28 | 1 | -0/+3 |
| | |||||
* | i915g: Support PIPE_FORMAT_B10G10R10A2_UNORM. | Stéphane Marchesin | 2011-06-28 | 3 | -0/+10 |
| | |||||
* | i915g: Improve SIN/COS a bit. | Stéphane Marchesin | 2011-06-28 | 1 | -20/+20 |
| | |||||
* | i915g: When emulating LUMINANCE8 and INTENSITY8 texutres, route alpha properly. | Stéphane Marchesin | 2011-06-28 | 1 | -2/+2 |
| | | | | That fixes some formats in fbo-alphatest-formats. | ||||
* | i915g: fix shadow compare. | Stéphane Marchesin | 2011-06-28 | 2 | -1/+26 |
| | | | | "Works" as well as i915c now. | ||||
* | i915g: Enable GL_ARB_instanced_arrays. | Stéphane Marchesin | 2011-06-27 | 2 | -2/+1 |
| | |||||
* | i915g: Fix a bug in facing. | Stéphane Marchesin | 2011-06-27 | 3 | -7/+7 |
| | | | | However doesn't work because of limitations in the draw module. | ||||
* | i915g: Remove unused cbuf_dirty. | Stéphane Marchesin | 2011-06-27 | 1 | -2/+0 |
| | |||||
* | i915g: Add a comment about a bug. | Stéphane Marchesin | 2011-06-27 | 1 | -0/+1 |
| | |||||
* | i915g: initial support for SEMANTIC_FACE. | Stéphane Marchesin | 2011-06-27 | 3 | -5/+28 |
| | | | | Doesn't work yet, see TODO. | ||||
* | i915g: update TODO. | Stéphane Marchesin | 2011-06-27 | 1 | -0/+13 |
| | |||||
* | i915g: Return the max result for the fake occlusion queries. | Stéphane Marchesin | 2011-06-27 | 1 | -1/+2 |
| | |||||
* | i915g: Fix depth texture formats. | Stéphane Marchesin | 2011-06-27 | 1 | -9/+39 |
| | | | | Depth compare still looks broken though. | ||||
* | i915g: Fix u_blitter comment. | Stéphane Marchesin | 2011-06-27 | 1 | -1/+2 |
| | |||||
* | i915g: Implement fake DDX/DDY. | Stéphane Marchesin | 2011-06-27 | 1 | -0/+12 |
| | |||||
* | i915g: Fix gl_FragCoord. | Stéphane Marchesin | 2011-06-27 | 3 | -44/+13 |
| | |||||
* | r300g: drop support for ARGB, ABGR, XRGB, XBGR render targets | Marek Olšák | 2011-06-25 | 1 | -21/+0 |
| | | | | | | | | Blending and maybe even alpha-test don't work with those formats. Only supporting RGBA, BGRA, RGBX, BGRX. NOTE: This is a candidate for the 7.10 and 7.11 branches. | ||||
* | i915g: always upload the vs constants.7.11-branchpoint | Stéphane Marchesin | 2011-06-24 | 1 | -9/+7 |
| | | | | This fixes a crash in llvm draw. | ||||
* | i915g: add fake occlusion queries. | Stéphane Marchesin | 2011-06-24 | 5 | -0/+125 |
| | | | | Those always return 0, but at least we don't crash when exposing GL 2.0. | ||||
* | i915g: Don't do shader fixup if no surface is bound. | Stéphane Marchesin | 2011-06-24 | 1 | -3/+9 |
| | |||||
* | i915g: Fix point sprites. | Stéphane Marchesin | 2011-06-24 | 8 | -31/+204 |
| | |||||
* | r600g: limit fs_write_all shader rebuild to eg+ | Alex Deucher | 2011-06-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | r600g: eg+ support for FS_COLOR0_WRITES_ALL_CBUFS | Alex Deucher | 2011-06-24 | 6 | -30/+61 |
| | | | | | | | | | Evergreen+ don't support multi-writes so we need to emulate it in the shader. Fixes the following piglit tests: fbo-drawbuffers-fragcolor ati_draw_buffers-arbfp-no-option Signed-off-by: Alex Deucher <[email protected]> | ||||
* | r600g: implement fragment and vertex color clamp | Vadim Girlin | 2011-06-24 | 7 | -9/+87 |
| | | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38440 Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | r600g: optimize spi update | Vadim Girlin | 2011-06-24 | 2 | -3/+8 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | r600g: LIT: fix x&y slots order | Vadim Girlin | 2011-06-24 | 1 | -11/+11 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | nv50,nvc0: prevent pushbuf flush during ctx reloc emission | Christoph Bumiller | 2011-06-24 | 8 | -22/+32 |
| | | | | | | Should unify this too, but will delay that until the planned libdrm_nouveau/winsys changes which are likely to cause major changes to this bo validation code too. | ||||
* | r600g: Add R8G8B8A8_UNORM to evergreen colorswap table | Benjamin Franzke | 2011-06-23 | 1 | -0/+1 |
| | | | | | | | | Fixes broken glTexImage2D with format=GL_RGBA since 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 The origin for this behaviour is that r600_is_format_supported checks only against r600_state_inline.h tables not evergreens. | ||||
* | r600g: bump shader input limits | Marek Olšák | 2011-06-23 | 1 | -2/+2 |
| | |||||
* | i915g: Add draw point sprites. | Stéphane Marchesin | 2011-06-22 | 2 | -2/+2 |
| | | | | It's not that much work; hopefully blend func separate also works and we get GL 2.0 for real. | ||||
* | i915g: Fix comment. | Stéphane Marchesin | 2011-06-22 | 1 | -1/+1 |
| | | | | Reported-by: Marcin Baczynski <[email protected]> | ||||
* | i915g: Support more texture and render target formats. | Stéphane Marchesin | 2011-06-22 | 5 | -11/+75 |
| | |||||
* | r600g: Fix use of uninitialized local variable extra_size. | Michel Dänzer | 2011-06-22 | 1 | -1/+1 |
| | | | | Should fix http://bugs.freedesktop.org/show_bug.cgi?id=38566 . | ||||
* | r600g: fix fbo depth/stencil texture allocation for evergreen+ | Alex Deucher | 2011-06-21 | 1 | -3/+8 |
| | | | | | | | | evergreen+ stores depth and stencil separately so when we allocate a depth/stencil fbo, make sure we allocate enough memory for both depth and stencil buffers. Signed-off-by: Alex Deucher <[email protected]> | ||||
* | r600g: use maths instead of a loop to work out mask. | Dave Airlie | 2011-06-21 | 1 | -4/+1 |
| | | | | | | This is equivalent results with less looping. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: optimise draw vbo function a bit more. | Dave Airlie | 2011-06-21 | 1 | -43/+9 |
| | | | | | | | | this drop a bunch of unnecessary checks (i.e. should be trapped at gallium level), and also removes the switch statement in favour of some calculated values for the vgt values. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: reorder LIT instructions to support src == dst | Pierre-Eric Pelloux-Prayer | 2011-06-21 | 1 | -35/+36 |
| | | | | | | | | | | | | the attached patch should be an improvement over Vadim Girlin's patch fixing LIT instruction for r600g (commit 2fe39b46e73aea37152777fe11d489e0b1bc3f92). Instructions used in tgsi_lit have been reordered to always write to a dst channel after the same channel in src has been read (so if src == dst, input values are not overwritten before being used). Signed-off-by: Dave Airlie <[email protected]> | ||||
* | nvfx: nasty hack to make glFinish() actually finish.. | Ben Skeggs | 2011-06-21 | 3 | -2/+22 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | gallium/nouveau: remove unused nouveau_screen_bo_user | Marcin Slusarz | 2011-06-20 | 2 | -16/+0 |
| | |||||
* | r600g: implement seamless_cube_map on r600-r700 | Marek Olšák | 2011-06-20 | 3 | -7/+46 |
| | | | | | st/mesa guarantees that all bound sampler states have the same value in seamless_cube_map. | ||||
* | r600g: remove some magic numbers | Marek Olšák | 2011-06-19 | 2 | -2/+13 |
| | |||||
* | u_vbuf_mgr: make u_vbuf_mgr_draw_begin return flags in a bitmask | Marek Olšák | 2011-06-19 | 2 | -5/+2 |
| |