summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50
AgeCommit message (Collapse)Author
2009-09-15nv50: nicer initialization of nv50_regsChristoph Bumiller
2009-09-15nv50: handle CEIL and TRUNC opcodesChristoph Bumiller
2009-09-15nv50: handle SEQ, SGT, SLE, SNE opcodesChristoph Bumiller
2009-09-15nv50: SIN and COS use src0.w for dst.wChristoph Bumiller
2009-09-15nv50: use broadcast TEMP reg in tx_insnChristoph Bumiller
Makes some opcode cases nicer and might reduce the total nr of TEMPs required, or save some MOVs.
2009-09-15nv50: add nv50_tgsi_insn to handle swizzles safelyChristoph Bumiller
2009-09-15nv50: add functions for swizzle resolutionChristoph Bumiller
We're going to try to reorder the scalar ops of a vector instr to accomodate swizzles that would otherwise require us to emit to an additional TEMP first (like MOV R0.xy, R0.zx).
2009-09-15nv50: extend insn src mask functionChristoph Bumiller
Extend its usage to avoiding e.g. emission of negation instructions in tx_insn for sources we don't need.
2009-09-14nv50: Fix m2mf positions.Marcin Kościelnicki
2009-09-10nv50: Fix tiling mode for lower mipmap levels.Marcin Kościelnicki
2009-09-03nv50: move centroid, flat bits when making interp longChristoph Bumiller
Before this, just the perspective divide bit was moved in convert_to_long of the load interpolant instruction.
2009-09-03nv50: fix vbo_static_attrib method size errorChristoph Bumiller
The VTX_ATTR_3/2/1F methods also had size 4 ... a stupid copy/paste error.
2009-09-03nv50: fix draw_elements_inline_u08/16Christoph Bumiller
We've been emitting the same two indices over and over without incrementing map.
2009-09-02nv50: SWZ is the same as MOV from our perspectiveBen Skeggs
2009-08-31nouveau: introduce nouveau_miptree common to all nouveau pipe driversBen Skeggs
The winsys once again has to know about textures it seems, so we need a common representation between all our pipe drivers to store some information the winsys will need. Only the nv50 driver has been fixed so far.
2009-08-29nv50: set provoking vertex stateChristoph Bumiller
2009-08-20nv50: use VTX_ATTR_nF for constant vtxeltsChristoph Bumiller
2009-08-20nv50: set vertex buffer limitsChristoph Bumiller
2009-08-20nv50: modify vbo format to hw translation, add BGRA swizzleChristoph Bumiller
2009-08-17nv50: remove a few cases of directly casting struct pipe_contextMaarten Maathuis
2009-08-17nv50: borrow some flushing code from the ddxMaarten Maathuis
- This fixes neverball corruption. - I'm unsure about what we're actually flushing here.
2009-08-17nv50: whitespace fixes and deobfuscationMaarten Maathuis
2009-08-17nv50: fix stencil stateChristoph Bumiller
It's the front stencil methods that have contiguous offsets, not the back ones. Unfortunately the names in the header still have FRONT/BACK reversed, so I'm using hex values until it gets updated.
2009-08-15nv50: avoid a NULL-ptr dereference when the pipe context changesMaarten Maathuis
- We cannot assume all state objects are present when the pipe context changes.
2009-08-15nv50: align registers used with TEX to 4Christoph Bumiller
The TEX instruction is passed the first index of a contiguous range of 4 TEMP registers that contain coordinates / LOD and, after execution, the texel values. It seems the first index is required to be a multiple of 4 on some (older ?) cards.
2009-08-14nv50: fix mipmap offsets and tilingChristoph Bumiller
The hardware expects a texture's tile mode to change with the mipmap level. Also, only multiply by block size once to obtain size.
2009-08-14nv50: make sure we don't re-emit outdated scissor stateChristoph Bumiller
Since we don't turn off scissors, we need to update the stateobj when the framebuffer size changes.
2009-08-14nv50: make use of the y-origin switchChristoph Bumiller
Now that we know how to make the hardware have y-coordinate origin top, we can get rid of all the inversion introduced earlier.
2009-08-14nv50: fix typo in REALLOC's 2nd argument in ctor_immdChristoph Bumiller
2009-07-29nv50: support non-blocking query_result()Ben Skeggs
2009-07-29nv50: correct zeta formatsChristoph Bumiller
What was Z24S8 before is actually S8Z24, and what we had for Z16 is actually X8Z24. Now, we also have the REAL Z24S8 and I added Z32_FLOAT as well; most of the formats need different tile_flags.
2009-07-29nv50: use new 2D surface format namesChristoph Bumiller
2009-07-29nv50: support more vtxelt formatsChristoph Bumiller
NOTE: we must not try to emit buffer relocations when vtxbuf_nr is 0 but vtxelt_nr is not
2009-07-29nv50: should use uint32_t ptr in draw_elements_inline_u32Christoph Bumiller
2009-07-29nv50: TIC/TSC fixes and additionsChristoph Bumiller
Red and blue were interchanged in TIC. Add border color and some formats.
2009-07-29nv50: fix sx/dx typo in transfer_rect_m2mfChristoph Bumiller
2009-07-29nv50: fix viewport transformChristoph Bumiller
The translation also needs to be inverted, and in bypass mode the state tracker incorrectly assumes that Y = 0 = TOP, so we need inversion there to; NDC clipping has to be deactivated explicitly.
2009-07-29nv50: use correct scissor regChristoph Bumiller
2009-07-22gallium: simplify tgsi_full_immediate structKeith Whitwell
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
2009-07-14gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin
default extension list
2009-07-01nouveau: return some supported zeta formatsBen Skeggs
2009-07-01nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTEDBen Skeggs
2009-06-06nv50: fix multi-texturingBen Skeggs
2009-06-06nv50: support non-normalized texture coordsBen Skeggs
2009-06-05nv50: use larger tile sizesBen Skeggs
2009-06-05nv50: use nouveau_bo for query buffersBen Skeggs
2009-06-05nv50: create textures with nouveau_bo, for flexibility with tiling laterBen Skeggs
2009-06-05nouveau: fix build with libdrm_nouveau 0.6Ben Skeggs
2009-06-05nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->Ben Skeggs
2009-06-05nouveau: move channel creation into pipe driversBen Skeggs