Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
| * | r300: simplify insert_wpos a little | Maciej Cencora | 2009-07-13 | 1 | -45/+31 |
| | | |||||
* | | intel: Partially fix fallback detection for glCopyTexSubImage. | Eric Anholt | 2009-07-13 | 1 | -6/+10 |
|/ | | | | | | | | | Really, we should be checking that the MesaTexFormat for the read buffer and the texture match, but the previous code wasn't even doing that, so matching the cpp should be an improvement (and potentially fix some hangs!). The previous code also rejected GL_RGB even though blitting the alpha channel to the ignored channel of an x8r8g8b8 texture should be fine, which tripped up compiz's blur plugin. | ||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-07-13 | 16 | -22/+138 |
|\ | |||||
| * | r128: fix two-sided lighting segfault seen in GLUT's olight demo | Peteri Andras | 2009-07-13 | 3 | -2/+7 |
| | | |||||
| * | intel: Bump driver data, add RC3 tagintel_2009q2_rc3 | Ian Romanick | 2009-07-12 | 1 | -1/+1 |
| | | |||||
| * | gallium: compare the actual register, not all the inputs | Zack Rusin | 2009-07-11 | 1 | -1/+1 |
| | | | | | | | | otherwise we decrement indexes for all registers | ||||
| * | tgsi: update some assertions | Brian Paul | 2009-07-10 | 1 | -4/+4 |
| | | |||||
| * | tgsi: tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE | Brian Paul | 2009-07-10 | 1 | -1/+6 |
| | | | | | | | | Same story as in the tgsi_dump.c code (see prev commit). | ||||
| * | tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE | Brian Paul | 2009-07-10 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | Fixes TGSI dump output when front/back-face register is declared. Also, add some assertions to make sure the semantic/interpolate string arrays have as many elements as there are tokens in the p_shader_tokens.h file. That should catch problems like this in the future. | ||||
| * | st/mesa: implement indirect addressing for destination registers | Brian Paul | 2009-07-10 | 1 | -0/+5 |
| | | |||||
| * | tgis: implement indirect addressing for destination registers | Brian Paul | 2009-07-10 | 6 | -11/+101 |
| | | | | | | | | Includes the TGSI interpreter, but not the SSE/PPC/etc code generators. | ||||
| * | vbo: fix vbo/dlist memory leak | Brian Paul | 2009-07-10 | 1 | -0/+5 |
| | | | | | | | | Based on a patch by [email protected] | ||||
| * | demos: set 4th component of texcoord to 1.0 | Brian Paul | 2009-07-10 | 1 | -0/+1 |
| | | | | | | | | Avoid potential randomness in resulting texcoords. | ||||
| * | Remove stale reference to non-Gallium nouveau driver from configure.ac. | Michel Dänzer | 2009-07-10 | 1 | -1/+1 |
| | | |||||
| * | mesa: From float type modifier from values to large for singles | Ian Romanick | 2009-07-09 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | The values 2147483648.0 and 4294967294.0 are too larget to be stored in single precision floats. Forcing these to be singles causes bits to be lost, which results in errors in some pixel transfer tests. This fixes bug #22344. (cherry picked from commit 70e72070fce6aa1e0918dcc62c1949465cee69f7) | ||||
* | | radeon: port more front fixes from intel. | Dave Airlie | 2009-07-14 | 3 | -1/+24 |
| | | | | | | | | Port fixes to read buffer from front. | ||||
* | | radeon/r200: fix color masking under dri2 | Dave Airlie | 2009-07-14 | 2 | -13/+37 |
| | | | | | | | | Need to retrieve the bits from the rrb not from screen struct | ||||
* | | radeon: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers. | Dave Airlie | 2009-07-14 | 1 | -2/+1 |
| | | | | | | | | | | | | The _Enabled field isn't updated at the point that DrawBuffers is called, and the Driver.Enable() function does the testing for stencil buffer presence anyway. | ||||
* | | radeon/fbo: stencil bits fix from Michel in intel fbo code | Dave Airlie | 2009-07-14 | 1 | -0/+1 |
| | | |||||
* | | i965: add support for new chipsets | Xiang, Haihao | 2009-07-13 | 33 | -149/+823 |
| | | | | | | | | | | | | | | | | | | | | 1. new PCI ids 2. fix some 3D commands on new chipset 3. fix send instruction on new chipset 4. new VUE vertex header 5. ff_sync message (added by Zou Nan Hai <[email protected]>) 6. the offset in JMPI is in unit of 64bits on new chipset 7. new cube map layout |