summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx
AgeCommit message (Collapse)Author
2010-09-05nvfx: switch to rules-ng-ng register headersLuca Barbieri
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.
2010-09-05nvfx: remove remaining BEGIN_RING/eng3d usesLuca Barbieri
2010-09-05nvfx: pause occlusion queries during blitter usageLuca Barbieri
Thanks for Dave Airlie and Jerome Glisse for their code which made me realize I need this too.
2010-09-05nvfx: properly return fogcoord.w == 1Luca Barbieri
Hardware sets it to 0, so we add an ADD to put an 1 there if the application really wants the alpha channel.
2010-09-05nvfx: support saturate in vpLuca Barbieri
Completely untested, since Mesa apparently never uses this currently. In particular, it might not work with scalar slot op.
2010-09-05nvfx: add rewritten swtnl supportLuca Barbieri
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.
2010-09-05nvfx: use a piglit-ignored format for unknown cap messageLuca Barbieri
2010-09-05nvfx: support unlimited constants and immediates in fpLuca Barbieri
2010-09-05nvfx: support using blitter to copy depth/stencil resources, fix HeavenLuca Barbieri
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).
2010-09-04nvfx: support rendering to more formatsLuca Barbieri
2010-09-04nvfx: move 2D format selection logic to 2D codeLuca Barbieri
2010-09-04nvfx: fix swizzling of high bpp surfacesLuca Barbieri
2010-09-04nvfx: fix some subrectangle copiesLuca Barbieri
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".
2010-09-04nvfx: fix inlinining in nv04_2d.cLuca Barbieri
2010-09-04nvfx: fix the temporary copying logic and add assertsLuca Barbieri
2010-09-04nvfx: prevent swizzled rendering into formats where it's not supportedLuca Barbieri
2010-09-04nvfx: consolidate tiny filesLuca Barbieri
We probably want to reorganize the remaining files too, but that's for later, maybe.
2010-09-04nvfx: fix vp DP2Luca Barbieri
2010-09-04nvfx: implement fp SSG properlyLuca Barbieri
2010-09-04nvfx: don't claim we support preds since the driver doesn'tLuca Barbieri
2010-09-04nv40: support all 10 texcoordsLuca Barbieri
2010-09-04nvfx: add missing context initLuca Barbieri
2010-09-04nvfx: tidy up state_emitLuca Barbieri
2010-09-04nvfx: support all coord conventions in hardwareLuca Barbieri
2010-09-04nvfx: add missing pushbuffer space checkLuca Barbieri
2010-09-04nvfx: support all possible vs constsLuca Barbieri
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.
2010-09-04nvfx: set magic bit to round NPOT mipmap sizes down and not upLuca Barbieri
Does any API even use rounding-up?
2010-09-04nvfx: allow nested blitter usage, fixing bug in clearLuca Barbieri
2010-09-03nvfx: implement LIT in fpLuca Barbieri
2010-09-03nvfx: fix division by zero in vp-ignore-inputLuca Barbieri
2010-09-03nvfx: report correct max lodbiasLuca Barbieri
Fixes piglit lodbias
2010-09-03nvfx: remove messageLuca Barbieri
2010-09-03nvfx: support indirect addressing in vpsLuca Barbieri
Negative or huge offsets not yet supported.
2010-09-03nvfx: fix support for more than 8 texture units (fixes etqw crash)Luca Barbieri
2010-09-01nouveau/nvfx: Remove enforcement of bit depth being same as front bufferPatrice Mandin
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-08-28nvfx: Remove util_is_pot in favor of util_is_power_of_two.Vinson Lee
This is a follow up to commit 89b2897220acfacdc431f138377fbcec9f0ea812.
2010-08-25nvfx: Set pointer to NULL after free.Vinson Lee
Guard against potential use after free.
2010-08-25gallium: Use draw_set_index_buffer and others.Chia-I Wu
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.
2010-08-25nvfx: Clean up header file inclusion in nvfx_screen.h.Vinson Lee
Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion.
2010-08-25nvfx: Include missing headers in nvfx_shader.h.Vinson Lee
Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol.
2010-08-24nvfx: Initialize variables on error path.Vinson Lee
2010-08-23nvfx: Remove unnecessary headers.Vinson Lee
2010-08-24nvfx: don't emit dummy commands on nv30Luca Barbieri
Should fix errors on the original nv30, reported by pmdata.
2010-08-23nvfx: improve fp temp accountingLuca Barbieri
2010-08-23nvfx: emit bo relocations only when neededLuca Barbieri
Should improve performance, possibly significantly.
2010-08-23nvfx: match Gallium's gl_PointCoord brokennessLuca Barbieri
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.
2010-08-23nvfx: support clip planes sensibly and fix them on nv30Luca Barbieri
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.
2010-08-23nvfx: fix minor memory leakLuca Barbieri
2010-08-23nvfx: support both sprite coord originsLuca Barbieri
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.
2010-08-23nvfx: use 64-bit bitmasks for tempsLuca Barbieri