summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50
AgeCommit message (Collapse)Author
2010-09-18nv50: Remove dead initialization.Vinson Lee
2010-09-18nv50: Remove dead initialization.Vinson Lee
2010-09-18nv50: Silence missing initializer warning.Vinson Lee
Fixes this GCC warning. nv50_state_validate.c:336: warning: missing initializer nv50_state_validate.c:336: error: (near initialization for 'validate_list[20].func')
2010-09-18nv50: fix typo in fifo packet length limitChristoph Bumiller
2010-09-18nv50: emit constbuf relocs before uploading constantsChristoph Bumiller
2010-09-18nv50: add relocs for stack and local mem buffersChristoph Bumiller
2010-09-16nv50: get shader fixups/relocations into working stateChristoph Bumiller
2010-09-16nv50: don't segfault on shaders with 0 instructionsChristoph Bumiller
2010-09-15nv50: Fix 'control reaches end of non-void function' warning.Vinson Lee
2010-09-15nv50: Silence uninitialized variable warnings.Vinson Lee
2010-09-15nv50: Silence uninitialized variable warning.Vinson Lee
2010-09-15nv50: Silence uninitialized variable warning.Vinson Lee
2010-09-15nv50: Silence uninitialized variable warning.Vinson Lee
2010-09-15nv50: Remove unnecessary headers.Vinson Lee
2010-09-15nv50: Update files in SConscript to match Makefile.Vinson Lee
2010-09-15nv50: use unsigned int for bitfields to silence warningsBrian Paul
2010-09-15Merge remote branch 'origin/nv50-compiler'Christoph Bumiller
Conflicts: src/gallium/drivers/nouveau/nouveau_class.h src/gallium/drivers/nv50/nv50_screen.c
2010-09-15nv50: put low limit on REG_ALLOC_TEMP and FP_RESULT_COUNTChristoph Bumiller
2010-09-15nv50: improve and fix modifier folding optimizationChristoph Bumiller
Execute before folding loads, because we don't check if it's legal in lower_mods. Ensure that a value's insn pointer is updated when transferring it to a different instruction.
2010-09-15nv50: consider address register in reload eliminationChristoph Bumiller
2010-09-14gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)Luca Barbieri
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
2010-09-13nv50: fix TXP depth comparison valueChristoph Bumiller
2010-09-13nv50: fix indirect CONST access with large or negative offsetsChristoph Bumiller
2010-09-13nv50: MOV TEMP[0], -CONST[0] must be float32 negationChristoph Bumiller
2010-09-13nv50: interp cannot write flags regChristoph Bumiller
2010-09-13nv50: check for immediates when turning MUL ADD into MADChristoph Bumiller
2010-09-13nv50: handle TGSI EXP and LOG againChristoph Bumiller
2010-09-12nv50: match TEMP limit with nv50 ir builderChristoph Bumiller
Mesa doesn't respect it anyway, but this makes it assert rather than threads access areas of l[] that don't belong to them.
2010-09-12nv50: newlines in shader bincode printingChristoph Bumiller
2010-09-12nv50: cannot move from local mem to output reg directlyChristoph Bumiller
2010-09-12nv50: fix size of outputs_written arrayXavier Chantry
2010-09-12nv50: minor compiler fixes and cleanupsChristoph Bumiller
2010-09-12nv50: reduce bb_reachable_by runtime from pot to linearChristoph Bumiller
As a by-product, remove the memory leak of nv_basic_blocks.
2010-09-09nv50: fix can_load check for 3rd sourceChristoph Bumiller
2010-09-09nv50: address regs are 16 bitChristoph Bumiller
2010-09-09nv50: duplicate interps in load_proj_tex_coordsChristoph Bumiller
Otherwise we might clobber the origin interpolation result or use the result of the RCP before its definition.
2010-09-09nv50: create value references with the right typeChristoph Bumiller
Since atm our OPs aren't typed but instead values are, we need to take care if they're used as different types (e.g. a load makes a value u32 by default). Maybe this should be changed (also to match TGSI), but it should work as well if done properly.
2010-09-09nv50: use actual loads/stores if TEMPs are accessed indirectlyChristoph Bumiller
2010-09-09nv50: don't parse again in tgsi_2_ncChristoph Bumiller
2010-09-09nv50: prepare for having multiple functionsChristoph Bumiller
At some point we'll want to support real subroutines instead of just inlining them into the main shader. Since recursive calls are forbidden, we can just save all used registers to a fixed local memory region and restore them on a return, no need for a stack pointer.
2010-09-09nv50: save tgsi instructionsChristoph Bumiller
2010-09-05nouveau: delete nouveau_class.h, move nv50 regs to nv50_reg.hLuca Barbieri
nv50 should switch to rules-ng-ng too at some point. The classic Mesa Nouveau driver also includes a copy of nouveau_class.h, and should convert to rules-ng-ng too and remove it.
2010-09-03nv50: load address register before using it, not afterChristoph Bumiller
2010-09-02Merge remote branch 'origin/master' into nv50-compilerChristoph Bumiller
Conflicts: src/gallium/drivers/nv50/nv50_program.c
2010-09-02nv50: fix build-predicate functionChristoph Bumiller
2010-09-02nv50: fix find_dom_frontierChristoph Bumiller
2010-09-01nv50: fix XPD, was negatedChristoph Bumiller
2010-09-01nv50: must join SELECT inputs before MOV inputsChristoph Bumiller
2010-09-01nv50: make use of TGSI immediate typeChristoph Bumiller
2010-09-01nv50: re-add proper TEXBIAS sequenceChristoph Bumiller