Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: clean up fields in draw_llvm_variant_key | Keith Whitwell | 2010-10-17 | 2 | -14/+9 |
| | |||||
* | draw: corrections for w coordinate | Hui Qi Tay | 2010-10-17 | 1 | -2/+3 |
| | |||||
* | draw: sanitize llvm variant key | Hui Qi Tay | 2010-10-14 | 2 | -1/+3 |
| | | | | Fixes recompilation, but seems to be broken with llvm 2.8. | ||||
* | draw: some changes to allow for runtime changes to userclip planes | delphi | 2010-10-10 | 5 | -20/+67 |
| | |||||
* | draw: added userclip planes and updated variant_key | delphi | 2010-10-04 | 2 | -47/+99 |
| | |||||
* | draw: added viewport and cliptest flags | Hui Qi Tay | 2010-09-29 | 3 | -50/+98 |
| | | | | | | | Corrections in store_clip to store clip coordinates in AoS form. Viewport & cliptest flag options based on variant key. Put back draw_pt_post_vs and now 2 paths based on whether clipping occurs or not. | ||||
* | draw: cliptest and viewport done in a single loop in vertex shader | Hui Qi Tay | 2010-09-29 | 2 | -27/+293 |
| | | | | | | | | | | | | | | | Cliptesting now done at the end of vs in draw_llvm instead of draw_pt_post_vs. Added viewport mapping transformation and further cliptesting to vertex shader in draw_llvm.c Alternative path where vertex header setup, clip coordinates store, cliptesting and viewport mapping are done earlier in the vertex shader. Still need to hook this up properly according to the return value of "draw_llvm_shader" function. | ||||
* | i965: Add support for struct, array, and matrix uniforms to FS backend. | Eric Anholt | 2010-09-28 | 1 | -15/+60 |
| | | | | Fixes 16 piglit cases. | ||||
* | i965: Add support for dereferencing structs to the new FS backend. | Eric Anholt | 2010-09-28 | 1 | -35/+32 |
| | | | | Fixes: glsl1-struct(2) | ||||
* | i965: Set the variable type when dereferencing an array. | Eric Anholt | 2010-09-28 | 1 | -0/+15 |
| | | | | | | | | | | We don't set the type on the array virtual reg as a whole, so here's the right place. Fixes: glsl1-GLSL 1.20 arrays glsl1-temp array with constant indexing, fragment shader glsl1-temp array with swizzled variable indexing | ||||
* | i965: Fix up the FS backend for the variable array indexing pass. | Eric Anholt | 2010-09-28 | 1 | -4/+12 |
| | | | | | | We need to re-run channel expressions afterwards as it generates new vector expressions, and we need to successfully support conditional assignment (brw_CMP takes 2 operands, not 1). | ||||
* | i965: Fix valgrind complaint about base_ir for new FS debugging. | Eric Anholt | 2010-09-28 | 1 | -0/+1 |
| | |||||
* | i965: Apply the same set of lowering passes to new FS as to Mesa IR. | Eric Anholt | 2010-09-28 | 1 | -0/+15 |
| | | | | | | | | While much of this we will want to support natively, this should make the task of reaching the Mesa IR backend's quality easier. Fixes: glsl-fs-main-return. | ||||
* | i965: Actually track the "if" depth in loop in the new FS backend. | Eric Anholt | 2010-09-28 | 1 | -0/+2 |
| | | | | | Fixes: glsl-fs-if-nested-loop. | ||||
* | i965: Fix negation in the new FS backend. | Eric Anholt | 2010-09-28 | 1 | -1/+1 |
| | | | | | | Fixes: glsl1-Negation glsl1-Negation2 | ||||
* | r600g: switch to new design | Jerome Glisse | 2010-09-28 | 1 | -1/+1 |
| | | | | | | | | New design seems to be on parity according to piglit, make it default to get more exposure and see if there is any show stopper in the coming days. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix remaining piglit issue in new design | Jerome Glisse | 2010-09-28 | 2 | -8/+32 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: use ptr for blit depth uncompress function | Jerome Glisse | 2010-09-28 | 4 | -1/+48 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | nv50: fix GP state bind and validate | Christoph Bumiller | 2010-09-28 | 2 | -1/+5 |
| | |||||
* | r600g: on evergreen the centroid isn't set in this register. | Dave Airlie | 2010-09-28 | 2 | -2/+0 |
| | |||||
* | i965: fallback bitmap operation on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -0/+6 |
| | | | | | Need to bring back correct fb write with header to set pixel write mask. Fallback for now. | ||||
* | i965: fix occlusion query on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -47/+114 |
| | | | | Fix pipe control command for depth stall and PS_DEPTH_COUNT write. | ||||
* | i965: fix point sprite on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -3/+11 |
| | | | | Need to set point sprite function in fixed SF state now on sandybridge. | ||||
* | i965: fix scissor state on sandybridge | Zhenyu Wang | 2010-09-28 | 4 | -5/+8 |
| | | | | | Fix incorrect scissor rect struct and missed scissor state pointer setting for sandybridge. | ||||
* | i965: enable polygon offset on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -0/+3 |
| | | | | Depth offset function is moved to SF stage on sandybridge. | ||||
* | i965: fix pixel w interpolation on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -4/+16 |
| | |||||
* | i965: don't do calculation for delta_xy on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -0/+16 |
| | | | | Sandybridge doesn't have Xstart/Ystart in payload header. | ||||
* | i965: only allow SIMD8 kernel on sandybridge now | Zhenyu Wang | 2010-09-28 | 1 | -0/+5 |
| | | | | Until we fixed SIMD16 kernel, force to SIMD8 on sandybridge now. | ||||
* | i965: sandybridge pipe control workaround before write cache flush | Zhenyu Wang | 2010-09-28 | 2 | -1/+21 |
| | | | | | Must issue a pipe control with any non-zero post sync op before write cache flush = 1 pipe control. | ||||
* | i965: Add all device ids for sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -6/+14 |
| | |||||
* | i965: fix const register count for sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | i965: Fix sampler on sandybridge | Zhenyu Wang | 2010-09-28 | 5 | -17/+45 |
| | | | | Sandybridge has not much change on texture sampler with Ironlake. | ||||
* | i965: fix jump count on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -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 now | Zhenyu Wang | 2010-09-28 | 2 | -1/+5 |
| | | | | Until conditional instructions were fixed, use SPF mode instead for now. | ||||
* | i965: add sandybridge viewport state bo into validation list | Zhenyu Wang | 2010-09-28 | 1 | -1/+3 |
| | |||||
* | i965: ignore quads for GS kernel on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -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 sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -2/+16 |
| | |||||
* | i965: fix point size setting in header on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -2/+5 |
| | |||||
* | i965: force zero in clipper to ignore RTAIndex on sandybridge | Zhenyu Wang | 2010-09-28 | 2 | -0/+2 |
| | |||||
* | i965: Fix color interpolation on sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -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 sandybridge | Zhenyu Wang | 2010-09-28 | 2 | -0/+6 |
| | | | | Accumulator update flag must be set for implicit update on sandybridge. | ||||
* | i965: new state dump for sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -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 sandybridge | Zhenyu Wang | 2010-09-28 | 1 | -9/+61 |
| | |||||
* | i965: Add support for POW in gen6 FS. | Eric Anholt | 2010-09-28 | 3 | -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 Anholt | 2010-09-28 | 3 | -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 Anholt | 2010-09-28 | 6 | -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 Lee | 2010-09-28 | 1 | -0/+3 |
| | |||||
* | r300/compiler: Use rc_for_all_reads_src() in "dead constants" pass | Tom Stellard | 2010-09-27 | 1 | -27/+24 |
| | |||||
* | r300/compiler: radeon_remove_constants.c: fix indentation | Tom Stellard | 2010-09-27 | 1 | -75/+75 |
| | |||||
* | r300/compiler: Print immediate values after "dead constants" pass | Tom Stellard | 2010-09-27 | 3 | -0/+18 |
| |