Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nvfx: Set pointer to NULL after free. | Vinson Lee | 2010-08-25 | 1 | -1/+3 |
| | | | | Guard against potential use after free. | ||||
* | gallium: Use draw_set_index_buffer and others. | Chia-I Wu | 2010-08-25 | 2 | -7/+8 |
| | | | | | | Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range. | ||||
* | nvfx: Clean up header file inclusion in nvfx_screen.h. | Vinson Lee | 2010-08-25 | 1 | -2/+2 |
| | | | | | | | Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion. | ||||
* | nvfx: Include missing headers in nvfx_shader.h. | Vinson Lee | 2010-08-25 | 1 | -0/+4 |
| | | | | | Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol. | ||||
* | nvfx: Initialize variables on error path. | Vinson Lee | 2010-08-24 | 1 | -0/+4 |
| | |||||
* | nvfx: Remove unnecessary headers. | Vinson Lee | 2010-08-23 | 3 | -4/+0 |
| | |||||
* | nvfx: don't emit dummy commands on nv30 | Luca Barbieri | 2010-08-24 | 1 | -4/+8 |
| | | | | Should fix errors on the original nv30, reported by pmdata. | ||||
* | nvfx: improve fp temp accounting | Luca Barbieri | 2010-08-23 | 1 | -2/+4 |
| | |||||
* | nvfx: emit bo relocations only when needed | Luca Barbieri | 2010-08-23 | 8 | -20/+65 |
| | | | | Should improve performance, possibly significantly. | ||||
* | nvfx: match Gallium's gl_PointCoord brokenness | Luca Barbieri | 2010-08-23 | 1 | -2/+5 |
| | | | | | | | Gallium always puts gl_PointCoord in GENERIC[0] if point_quad_rasterization is enabled. This is silly, but for now it makes mesa-demos/glsl/pointcoord work. | ||||
* | nvfx: support clip planes sensibly and fix them on nv30 | Luca Barbieri | 2010-08-23 | 7 | -116/+163 |
| | | | | | | | | | | Before, we were discarding the compiled vertex program on each vertex program change. Now we compile the program as if there were 6 clip planes and dynamically patch in an "end program" bit at the right place. Also, nv30 should now work. | ||||
* | nvfx: fix minor memory leak | Luca Barbieri | 2010-08-23 | 1 | -1/+1 |
| | |||||
* | nvfx: support both sprite coord origins | Luca Barbieri | 2010-08-23 | 3 | -43/+108 |
| | | | | | | | Now we lie less when claiming OpenGL 2 support. Also, first piglit result group is now all green, except for fdo25614-genmipmap, which seems mesa/st's fault. | ||||
* | nvfx: use 64-bit bitmasks for temps | Luca Barbieri | 2010-08-23 | 1 | -8/+8 |
| | |||||
* | nvfx: Include missing header in nvfx_vertprog.c. | Vinson Lee | 2010-08-22 | 1 | -0/+2 |
| | | | | | | | | | | | Include draw_context.h for draw_*_vertex_shader symbols. Fixes the following GCC warning. nvfx_vertprog.c: In function 'nvfx_vp_state_create': nvfx_vertprog.c:1276: warning: implicit declaration of function 'draw_create_vertex_shader' nvfx_vertprog.c:1276: warning: assignment makes pointer from integer without a cast nvfx_vertprog.c: In function 'nvfx_vp_state_delete': nvfx_vertprog.c:1298: warning: implicit declaration of function 'draw_delete_vertex_shader' | ||||
* | nvfx: refactor to support multiple fragment program versions | Luca Barbieri | 2010-08-22 | 5 | -76/+127 |
| | |||||
* | nvfx: move stuff around | Luca Barbieri | 2010-08-22 | 5 | -84/+95 |
| | |||||
* | nvfx: simplify and correct fragment program update logic | Luca Barbieri | 2010-08-22 | 6 | -94/+149 |
| | | | | | | | This version should hopefully be much clearer and thus less likely to be subtly broken. Also fixes point sprites on nv40 and possibly some other bugs too. | ||||
* | nvfx: make stipple setting independent of enable | Luca Barbieri | 2010-08-22 | 4 | -27/+3 |
| | |||||
* | nvfx: fix vertex programs | Luca Barbieri | 2010-08-22 | 1 | -0/+2 |
| | |||||
* | nvfx: use relocations array for vp constants | Luca Barbieri | 2010-08-22 | 4 | -35/+34 |
| | |||||
* | nvfx: Silence unused variable warning. | Vinson Lee | 2010-08-22 | 1 | -0/+1 |
| | | | | The variable is used but only in the body of an assert. | ||||
* | nvfx: Silence uninitialized variable warnings. | Vinson Lee | 2010-08-21 | 2 | -0/+6 |
| | | | | Variables weren't initialized on the error paths. | ||||
* | nvfx: Silence uninitialized variable warnings. | Vinson Lee | 2010-08-21 | 1 | -4/+4 |
| | | | | | | | | | Silence the following i686-apple-darwin10-gcc-4.2.1 warnings. nv04_2d.c: In function 'nv04_region_copy_cpu': nv04_2d.c:560: warning: 'dswy' may be used uninitialized in this function nv04_2d.c:559: warning: 'dswx' may be used uninitialized in this function nv04_2d.c:562: warning: 'sswy' may be used uninitialized in this function nv04_2d.c:561: warning: 'sswx' may be used uninitialized in this function | ||||
* | nvfx: actually fix it properly | Luca Barbieri | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | nvfx: fix incorrect assert | Luca Barbieri | 2010-08-21 | 1 | -6/+9 |
| | |||||
* | nvfx: Fix SCons build. | Vinson Lee | 2010-08-21 | 7 | -56/+105 |
| | | | | | Move declarations before code. Fix void pointer arithmetic. | ||||
* | nvfx: fix warnings | Luca Barbieri | 2010-08-21 | 3 | -5/+2 |
| | |||||
* | nvfx: enable translate_sse | Luca Barbieri | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | scons: Fix nvfx build. | Vinson Lee | 2010-08-21 | 1 | -1/+2 |
| | |||||
* | nvfx: slightly improve handling of overlong vps | Luca Barbieri | 2010-08-21 | 1 | -2/+10 |
| | |||||
* | nvfx: tweak CMP in fp | Luca Barbieri | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | nvfx: implement CMP in vp | Luca Barbieri | 2010-08-21 | 1 | -0/+13 |
| | |||||
* | nvfx: implement TXL in fp | Luca Barbieri | 2010-08-21 | 1 | -0/+6 |
| | |||||
* | nvfx: implement SSG in fp | Luca Barbieri | 2010-08-21 | 1 | -1/+13 |
| | |||||
* | nvfx: implement DP2 in vp and fp | Luca Barbieri | 2010-08-21 | 2 | -0/+10 |
| | |||||
* | nvfx: implement TRUNC in vp and fp | Luca Barbieri | 2010-08-21 | 2 | -6/+32 |
| | |||||
* | nvfx: implement NOP | Luca Barbieri | 2010-08-21 | 2 | -0/+4 |
| | |||||
* | nvfx: add vertex program control flow | Luca Barbieri | 2010-08-21 | 2 | -18/+169 |
| | |||||
* | nvfx: fix vertex shader headers | Luca Barbieri | 2010-08-21 | 2 | -4/+4 |
| | |||||
* | nv40: add fragment program control flow | Luca Barbieri | 2010-08-21 | 2 | -5/+247 |
| | |||||
* | nvfx: refactor shader assembler | Luca Barbieri | 2010-08-21 | 3 | -360/+357 |
| | |||||
* | nvfx: add option to dump shaders in TGSI and native code | Luca Barbieri | 2010-08-21 | 2 | -8/+30 |
| | |||||
* | nvfx: improve and correct nvfx_shader.h | Luca Barbieri | 2010-08-21 | 1 | -13/+65 |
| | |||||
* | nvfx: fix lodbias | Luca Barbieri | 2010-08-21 | 2 | -4/+4 |
| | |||||
* | nvfx: mostly fix inline corruption magically | Luca Barbieri | 2010-08-21 | 1 | -1/+9 |
| | | | | Not sure why this mostly works. | ||||
* | nvfx: fix GPU hardlocks when depth buffer is absent | Luca Barbieri | 2010-08-21 | 4 | -5/+15 |
| | |||||
* | nvfx: fire ring after transfers | Luca Barbieri | 2010-08-21 | 1 | -0/+5 |
| | | | | Might reduce the risk of running out of memory | ||||
* | nv30: band-aid viewport issues | Luca Barbieri | 2010-08-21 | 1 | -3/+5 |
| | | | | | | For some reason nv30 seems to like to reset the viewport, even though attempts to isolate where exactly it does that have currently been inconclusive. | ||||
* | nvfx: support flatshade_first | Luca Barbieri | 2010-08-21 | 2 | -1/+4 |
| |