Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nvfx: Silence uninitialized variable warnings. | Vinson Lee | 2010-09-15 | 1 | -0/+3 |
| | |||||
* | gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3) | Luca Barbieri | 2010-09-14 | 1 | -45/+74 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in v3: - Also change trace, which I forgot about Changes in v2: - No longer adds tessellation shaders Currently each shader cap has FS and VS versions. However, we want a version of them for geometry, tessellation control, and tessellation evaluation shaders, and want to be able to easily query a given cap type for a given shader stage. Since having 5 duplicates of each shader cap is unmanageable, add a new get_shader_param function that takes both a shader cap from a new enum and a shader stage. Drivers with non-unified shaders will first switch on the shader and, within each case, switch on the cap. Drivers with unified shaders instead first check whether the shader is supported, and then switch on the cap. MAX_CONST_BUFFERS is now per-stage. The geometry shader cap is removed in favor of checking whether the limit of geometry shader instructions is greater than 0, which is also used for tessellation shaders. WARNING: all drivers changed and compiled but only nvfx tested | ||||
* | nvfx: Remove unused variables. | Vinson Lee | 2010-09-12 | 3 | -3/+1 |
| | |||||
* | nvfx: Move declaration before code. | Vinson Lee | 2010-09-12 | 1 | -6/+12 |
| | | | | Fixes SCons build. | ||||
* | nv30: fix breakage due to 10 texcoord support on nv40 | Luca Barbieri | 2010-09-11 | 1 | -2/+2 |
| | |||||
* | nvfx: fix return in vp main | Luca Barbieri | 2010-09-06 | 1 | -17/+39 |
| | |||||
* | nvfx: support nv30 simulation on nv40 | Luca Barbieri | 2010-09-05 | 7 | -32/+50 |
| | |||||
* | nvfx: move nv04_2d to rules-ng-ng | Luca Barbieri | 2010-09-05 | 2 | -17/+1363 |
| | |||||
* | nvfx: switch to rules-ng-ng register headers | Luca Barbieri | 2010-09-05 | 17 | -334/+2356 |
| | | | | | | | | | | This is the new register generation toolkit in use by nouveau. As far as I know, this is the best register description toolkit in existence, and you should use it too for your hardware :) Thanks to Marcin KoĆcielnicki for inventing it and performing invaluable reverse engineering work of nVidia chips. | ||||
* | nvfx: remove remaining BEGIN_RING/eng3d uses | Luca Barbieri | 2010-09-05 | 2 | -15/+18 |
| | |||||
* | nvfx: pause occlusion queries during blitter usage | Luca Barbieri | 2010-09-05 | 3 | -9/+35 |
| | | | | | Thanks for Dave Airlie and Jerome Glisse for their code which made me realize I need this too. | ||||
* | nvfx: properly return fogcoord.w == 1 | Luca Barbieri | 2010-09-05 | 1 | -1/+15 |
| | | | | | Hardware sets it to 0, so we add an ADD to put an 1 there if the application really wants the alpha channel. | ||||
* | nvfx: support saturate in vp | Luca Barbieri | 2010-09-05 | 2 | -66/+93 |
| | | | | | | Completely untested, since Mesa apparently never uses this currently. In particular, it might not work with scalar slot op. | ||||
* | nvfx: add rewritten swtnl support | Luca Barbieri | 2010-09-05 | 8 | -263/+238 |
| | | | | | | | | The old swtnl code was broken by the new shader linkage support for GLSL. This is a rewrite of swtnl support, which should instead work properly, be faster and more closer to the much more tested hardware pipeline. | ||||
* | nvfx: use a piglit-ignored format for unknown cap message | Luca Barbieri | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | nvfx: support unlimited constants and immediates in fp | Luca Barbieri | 2010-09-05 | 2 | -49/+37 |
| | |||||
* | nvfx: support using blitter to copy depth/stencil resources, fix Heaven | Luca Barbieri | 2010-09-05 | 1 | -1/+8 |
| | | | | | | | | | | We might want to copy them as color ones though. Also works around crash in Unigine Heaven due to failing to allocate a 64 MB temporary in GART for a CPU copy. Unigine Heaven now works on nv40, albeit with very heavy glitches (with the floating branch with render_hdr 0). | ||||
* | nvfx: support rendering to more formats | Luca Barbieri | 2010-09-04 | 3 | -1/+27 |
| | |||||
* | nvfx: move 2D format selection logic to 2D code | Luca Barbieri | 2010-09-04 | 3 | -67/+75 |
| | |||||
* | nvfx: fix swizzling of high bpp surfaces | Luca Barbieri | 2010-09-04 | 2 | -39/+63 |
| | |||||
* | nvfx: fix some subrectangle copies | Luca Barbieri | 2010-09-04 | 1 | -4/+6 |
| | | | | | | Actually, we may want to get rid of the x/y coordinates for linear surfaces, and realign the origin from scratch if necessary, instead of doing this "on-demand realignment". | ||||
* | nvfx: fix inlinining in nv04_2d.c | Luca Barbieri | 2010-09-04 | 1 | -1/+1 |
| | |||||
* | nvfx: fix the temporary copying logic and add asserts | Luca Barbieri | 2010-09-04 | 3 | -7/+24 |
| | |||||
* | nvfx: prevent swizzled rendering into formats where it's not supported | Luca Barbieri | 2010-09-04 | 1 | -2/+4 |
| | |||||
* | nvfx: consolidate tiny files | Luca Barbieri | 2010-09-04 | 9 | -134/+94 |
| | | | | | We probably want to reorganize the remaining files too, but that's for later, maybe. | ||||
* | nvfx: fix vp DP2 | Luca Barbieri | 2010-09-04 | 1 | -1/+1 |
| | |||||
* | nvfx: implement fp SSG properly | Luca Barbieri | 2010-09-04 | 1 | -5/+18 |
| | |||||
* | nvfx: don't claim we support preds since the driver doesn't | Luca Barbieri | 2010-09-04 | 1 | -2/+2 |
| | |||||
* | nv40: support all 10 texcoords | Luca Barbieri | 2010-09-04 | 3 | -12/+19 |
| | |||||
* | nvfx: add missing context init | Luca Barbieri | 2010-09-04 | 1 | -0/+3 |
| | |||||
* | nvfx: tidy up state_emit | Luca Barbieri | 2010-09-04 | 1 | -76/+84 |
| | |||||
* | nvfx: support all coord conventions in hardware | Luca Barbieri | 2010-09-04 | 5 | -5/+31 |
| | |||||
* | nvfx: add missing pushbuffer space check | Luca Barbieri | 2010-09-04 | 1 | -0/+2 |
| | |||||
* | nvfx: support all possible vs consts | Luca Barbieri | 2010-09-04 | 1 | -10/+5 |
| | | | | | | | | We were incorrectly setting a register that limited the range of constants accessible via indirect addressing. Setting it correctly, we can address all the constants the GPU supports. | ||||
* | nvfx: set magic bit to round NPOT mipmap sizes down and not up | Luca Barbieri | 2010-09-04 | 1 | -0/+3 |
| | | | | Does any API even use rounding-up? | ||||
* | nvfx: allow nested blitter usage, fixing bug in clear | Luca Barbieri | 2010-09-04 | 3 | -8/+21 |
| | |||||
* | nvfx: implement LIT in fp | Luca Barbieri | 2010-09-03 | 2 | -1/+24 |
| | |||||
* | nvfx: fix division by zero in vp-ignore-input | Luca Barbieri | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | nvfx: report correct max lodbias | Luca Barbieri | 2010-09-03 | 1 | -1/+1 |
| | | | | Fixes piglit lodbias | ||||
* | nvfx: remove message | Luca Barbieri | 2010-09-03 | 1 | -13/+0 |
| | |||||
* | nvfx: support indirect addressing in vps | Luca Barbieri | 2010-09-03 | 4 | -27/+96 |
| | | | | Negative or huge offsets not yet supported. | ||||
* | nvfx: fix support for more than 8 texture units (fixes etqw crash) | Luca Barbieri | 2010-09-03 | 2 | -4/+3 |
| | |||||
* | nouveau/nvfx: Remove enforcement of bit depth being same as front buffer | Patrice Mandin | 2010-09-01 | 1 | -17/+0 |
| | | | | Signed-off-by: Patrice Mandin <[email protected]> | ||||
* | nvfx: Remove util_is_pot in favor of util_is_power_of_two. | Vinson Lee | 2010-08-28 | 2 | -5/+5 |
| | | | | This is a follow up to commit 89b2897220acfacdc431f138377fbcec9f0ea812. | ||||
* | 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 |
| |