Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tgsi: make function call code in tgsi_sse.c less opaque | Keith Whitwell | 2009-07-16 | 2 | -25/+92 |
| | | | | | | Explictly pass src and dst arguments (previously dst argument was also being used as a src). Separate argument handling from the rest of the function call emit. | ||||
* | gallium: proper constructor and destructor for tgsi_exec_machine | Keith Whitwell | 2009-07-16 | 7 | -53/+71 |
| | | | | | Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives. | ||||
* | radeon: update span reading micro tile code | Dave Airlie | 2009-07-15 | 1 | -103/+67 |
| | | | | tested on r500 with zreaddraw with Z buffer in all 3 modes | ||||
* | r300: emit z depth pitch reloc in preparation for tiling | Dave Airlie | 2009-07-15 | 1 | -7/+17 |
| | |||||
* | radeon: r300 fix span reading for macro tiled buffers. | Dave Airlie | 2009-07-15 | 1 | -6/+7 |
| | | | | this uses the correct formula for macro tiled buffers for readback | ||||
* | radeon: for tiling you really need to use GET/PUT VALUE not PTR. | Dave Airlie | 2009-07-15 | 1 | -1/+5 |
| | | | | since the surfaces aren't linear you can't just use GET_PTR | ||||
* | i965: the offset of any branch/jump instruction is in unit of 64bits on IGDNG | Xiang, Haihao | 2009-07-15 | 2 | -6/+24 |
| | |||||
* | intel/radeon: add common metaops code. | Dave Airlie | 2009-07-15 | 18 | -871/+684 |
| | | | | | Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code. | ||||
* | radeon: fix unsigned vs signed comparison in stencil code. | Dave Airlie | 2009-07-15 | 1 | -1/+1 |
| | | | | | This function takes a GLint not a GLuint, passing in -1 breaks internally. | ||||
* | intel: Fix ClearDepth to not be affected by DepthRange. | Eric Anholt | 2009-07-14 | 1 | -1/+7 |
| | | | | Fixes new piglit depthrange-clear.c test. | ||||
* | intel: Set DepthRange in the metaops using RasterPos[2]. | Eric Anholt | 2009-07-14 | 2 | -1/+9 |
| | | | | | | | RasterPos[2] is already sent through the window transform, which includes DepthRange handling. So make DepthRange for the metaops a noop. Fixes a failure in oglconform depthrange.c | ||||
* | Fix state flag dependencies for fixed function fragment program updates. | Eric Anholt | 2009-07-14 | 2 | -1/+11 |
| | | | | | I started looking into why _NEW_ARRAY punishes us, and while annotating dependencies noticed that a bunch of dependencies were missing. | ||||
* | intel: Flag _NEW_ARRAY state when doing array object binding in clears. | Eric Anholt | 2009-07-14 | 1 | -0/+8 |
| | | | | This is just following bind_vertex_array()'s behavior. | ||||
* | mesa: regenerated enums.c file | Brian Paul | 2009-07-14 | 1 | -2/+3 |
| | |||||
* | dri-st: Unbreak GL_EXT_blend_equation_separate. | Corbin Simpson | 2009-07-14 | 1 | -0/+1 |
| | | | | | | | | | Since it has a dispatch table entry (for BlendEquationSeparateEXT,) can't omit it from this list. It'll still get disabled if the cap (PIPE_CAP_BLEND_EQUATION_SEPARATE) isn't set. Somebody that doesn't suck at GL (read: not me) should probably add this into progs/samples/blendeq or similar so we can test it. | ||||
* | gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵ | Patrice Mandin | 2009-07-14 | 10 | -3/+19 |
| | | | | default extension list | ||||
* | radeon: Differentiate 16 bpp destination formats. | Michel Dänzer | 2009-07-14 | 3 | -3/+30 |
| | | | | | | Fixes those formats in fbo_firecube. Only tested with r300, radeon and r200 compile tested only. | ||||
* | radeon: Invert front face winding when rendering to FBO. | Michel Dänzer | 2009-07-14 | 3 | -0/+12 |
| | | | | | | Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'. Tested with r300, radeon and r200 compile tested only. | ||||
* | r300g: Small compile warning fixes. | Nicolai Hähnle | 2009-07-13 | 3 | -2/+5 |
| | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | r300g, radeon: Whitespace fixes. | Nicolai Hähnle | 2009-07-13 | 4 | -13/+13 |
| | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | r300g: Use align() instead of inline maths. | Corbin Simpson | 2009-07-13 | 1 | -4/+7 |
| | |||||
* | Merge branch 'shaders_cleanup' | Maciej Cencora | 2009-07-13 | 17 | -570/+883 |
|\ | |||||
| * | r300: always assume all components are read by fragment program | Maciej Cencora | 2009-07-13 | 1 | -49/+5 |
| | | | | | | | | | | | | Components of input attributes that are used by fragment program aren't part of vertex program key, and that may lead to situations when vertex program writes only TEX1.xy and fragment program reads TEX1.xyz, resulting in rendering errors. Reported-by: Nicolai Hähnle <[email protected]> | ||||
| * | r300: Fix fogcoord rewriting | Nicolai Hähnle | 2009-07-13 | 3 | -45/+66 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only care about the actual fogcoord itself now, reducing the rewriting done for the vertex program. The rewriting of source operand swizzles in the fragment program takes care that fogcoord.yzw = 001. This should fix fogcoord rewriting entirely, which had been horribly broken in the face of dot-product instructions, and just broken (though not horribly so) in the face of almost every other instruction (the W component would be incorrect for most arithmetic instructions). Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
| * | r300: fix swizzle masking in getUsedComponents | Maciej Cencora | 2009-07-13 | 1 | -4/+8 |
| | | |||||
| * | r300: minor fix | Maciej Cencora | 2009-07-13 | 1 | -1/+2 |
| | | | | | | | | | | | | Split initializations becase the vars are of different type. Reported-by: Nicolai Hähnle <[email protected]> | ||||
| * | r300: move variables declarations | Maciej Cencora | 2009-07-13 | 1 | -3/+4 |
| | | |||||
| * | r300: document r300_vertex_program_cont structure | Maciej Cencora | 2009-07-13 | 1 | -2/+7 |
| | | | | | | | | Reported-by: Nicolai Hähnle <[email protected]> | ||||
| * | r300: document r300_fragment_program_cont struct | Maciej Cencora | 2009-07-13 | 1 | -0/+5 |
| | | |||||
| * | r300: fix indentation | Maciej Cencora | 2009-07-13 | 1 | -4/+4 |
| | | | | | | | | Reported-by: Nicolai Hähnle <[email protected]> | ||||
| * | r300: fix StrideB == 0 case when converting data format | Maciej Cencora | 2009-07-13 | 1 | -1/+10 |
| | | | | | | | | Reported-by: Nicolai Hähnle <[email protected]> | ||||
| * | r300: hw can handle per component negations in vertex shaders | Maciej Cencora | 2009-07-13 | 1 | -25/+2 |
| | | | | | | | | Reported-by: Nicolai Haehnle <[email protected]> | ||||
| * | r300: fix WPOS for SWTCL | Maciej Cencora | 2009-07-13 | 1 | -14/+16 |
| | | |||||
| * | r300: removed unnecessary params | Maciej Cencora | 2009-07-13 | 3 | -9/+9 |
| | | | | | | | | We don't have check which attributes are used by fragment program - it's already done by NQSSADCE. | ||||
| * | r300: use NQSSADCE for vertex programs | Maciej Cencora | 2009-07-13 | 1 | -1/+132 |
| | | |||||
| * | r300: operate on copy of a program when pairing instructions | Maciej Cencora | 2009-07-13 | 1 | -1/+3 |
| | | | | | | | | We need to keep unpaired program for vertex program NQSSADCE. | ||||
| * | r300: handle relative addressing in NQSSADCE | Maciej Cencora | 2009-07-13 | 2 | -1/+10 |
| | | |||||
| * | r300: handle ARB_vertex_program specific instructions in NQSSADCE | Maciej Cencora | 2009-07-13 | 1 | -0/+14 |
| | | |||||
| * | r300: move depth output rewrite out of NQSSADCE | Maciej Cencora | 2009-07-13 | 3 | -49/+46 |
| | | |||||
| * | r300: rewrite FOGC and HPOS attribs handling | Maciej Cencora | 2009-07-13 | 7 | -122/+130 |
| | | | | | | | | Rewrite vertex and fragment programs so that we don't have to do any hacks on lower level. | ||||
| * | r300: bind vertex program to fragment program | Maciej Cencora | 2009-07-13 | 4 | -114/+103 |
| | | |||||
| * | r300: recalculate used inputs and outputs after dead code removal | Maciej Cencora | 2009-07-13 | 1 | -0/+28 |
| | | |||||
| * | r300: move fragment program selection before vertex program selection | Maciej Cencora | 2009-07-13 | 1 | -19/+25 |
| | | | | | | | | Prepare for wpos and fogc handling rewrite. | ||||
| * | r300: implement proper IsProgramNative check for vertex programs | Maciej Cencora | 2009-07-13 | 5 | -12/+23 |
| | | |||||
| * | r300: don't modify original vertex program | Maciej Cencora | 2009-07-13 | 3 | -28/+28 |
| | | | | | | | | Keep the original vertex program untouched because it may be needed after some state change for generating new r300 specific vertex program. | ||||
| * | r300: cache translated fragment programs | Maciej Cencora | 2009-07-13 | 6 | -124/+173 |
| | | |||||
| * | r300: update state parameters only once per rendering operation | Maciej Cencora | 2009-07-13 | 3 | -15/+3 |
| | | |||||
| * | r300: translate non native insts earlier for easier debugging | Maciej Cencora | 2009-07-13 | 1 | -0/+202 |
| | | |||||
| * | r300: print vertex program after adding artificial output insts | Maciej Cencora | 2009-07-13 | 1 | -12/+12 |
| | | |||||
| * | r300: use mesa provided function for adding MVP code | Maciej Cencora | 2009-07-13 | 2 | -95/+7 |
| | |