summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600/r700_fragprog.c
AgeCommit message (Collapse)Author
2010-01-05r600: support depth compare functions & shadow_ambientAndre Maasikas
2009-12-21r600: support more of arb_point_sprite and also sprite_coord_originAndre Maasikas
2009-12-15r600: use _mesa_insert_instructions to fixup wpos instead of manual ins insertAndre Maasikas
this keeps branch targets correct. glsl/trirast works correctly now afaics
2009-12-15r600: fix fragment.positionAndre Maasikas
wpos.y seems inferted to what opengl expexts, so calculate correct value from window dimension and replace references in fragmentprog with calculated value
2009-12-15r600: add support for FRAG_ATTRIB_PNTCAndre Maasikas
2009-12-09r600 : add pre-compile mesa shader calling interface, in order to handleRichard Li
complex built-in shader instructions.
2009-12-08r600: glsl - allow specifying texture sampler via uniformsAndre Maasikas
looks kinda hackish, should rethink later
2009-12-08r600: implement FRAG_ATTRIB_FACE, glsl/twoside worksAndre Maasikas
2009-11-29r600 : add read port allocation for uniform;Richard Li
mapping ps input based on vs output; fix bugs including constants updating for vs.
2009-11-18r600 : Initial version of glsl fc.Richard Li
2009-11-09r600: rework DB render setupAlex Deucher
- consolidate DB render setup - only enable perfect ZPASS counts and cull disable when OQ is active - enable early Z
2009-10-22r600: set barrier for tex inst if dst is used earlier, might overwrite it ↵Andre Maasikas
otherwise
2009-10-22r600: need to export something from PSAndre Maasikas
Also avoids empty shader for "END" - seems to be somewhat valid fp Maybe this can be done differently in the future (fake FRAG_RESULT_COLOR already in Map_Fragment_Program() or is there a way to program the chip to not hang in case of no exports.
2009-10-15r600: clear position enable bit when when wpos is not used by FPAndre Maasikas
Makes doom3 alot nicer..
2009-08-26r600: fix memory leakAlex Deucher
2009-08-24r600: code cleanupAlex Deucher
2009-08-22r600: move full state to radeon state atomsAlex Deucher
2009-08-21r600: better default state size.Alex Deucher
Hopefully suokko's emit size impovements will land soon.
2009-08-12r600: A shader is bound that exports Z as a float into Red channelCooper Yuan
2009-08-11r600: update num of interp if posizition is usedCooper Yuan
2009-08-09r600: looks like a typoDave Airlie
2009-08-09r600: load per-pixel position into PS in order to use fragment.position.Cooper Yuan
This patch can fix /progs/fp/tri-depth, tri-depth2, tri-depthwrite, tri-depthwrite2 and point-position.
2009-08-02r600: fix regression in texenvAlex Deucher
Emit shader consts with the shader program itself
2009-07-31r600: ensure we have enough room for full state emitAlex Deucher
full state is roughly 4000 dwords, but will vary depending on the rendering. Also fix some warnings.
2009-07-31r600: re-arrange state setup and emit so they are not mixedAlex Deucher
2009-07-29r600: emit fog color in PS input map, fix fog related applicationsCooper Yuan
2009-07-29R6xx/r7xx: VS export fog color as parameterCooper Yuan
2009-07-28r600: fix flat shadingAlex Deucher
Set the flat shading bit on the appropriate PS input depending on the type of attribute it is. The VS output and PS input routing should probably be made more dynamic at some point. We may want to use semantic ids to make it easier.
2009-07-27r600: fix texturesAlex Deucher
We weren't allocating enough gprs for the fragment shader in some cases. There are likely other issues that still need to be sorted out for textures, but at least they now work.
2009-07-02r6xx/r7xx: Better fix for fragment tempsRichard Li
This doesn't waste as many in generic cases.
2009-07-01R6xx/R7xx: Fix number of temps used in fragment programAlex Deucher
Spotted by Cooper. This gets hello, aargb, smooth, etc. working.
2009-06-04re-arrange state structureAlex Deucher
- split out renderbuffers - split out shaders - split our viewports Only send the state needed.
2009-05-29get rid of chip_object structAlex Deucher
2009-05-29more cleanupAlex Deucher
2009-05-15Fix r6 code bugs.Richard Li
2009-05-08R6xx/R7xx: WIP r6xx-rewrite codeRichard Li
2009-04-21Initial pull of code from r6xx-r7xx-support branchRichard Li
Not functional yet.
2009-04-10Remove r500 stuffAlex Deucher
2009-04-09R6xx/R7xx: r300 -> r600 symbolsAlex Deucher
2009-04-08R600: initial copy of r300 codeAlex Deucher