summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-12-01cell: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01vl: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01draw: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01cso: Add support for separate vertex sampler state.Michal Krol
2009-12-01gallium: Introduce separate vertex texture/sampler state.Michal Krol
Previously, gallium shared sampler and texture state between vertex and fragment shader stages. This change generalises this concept by providing separate entrypoints for vertex and fragment sampler state setting. A new capability bit is added to query the driver for the number of samplers that can be utilised by a vertex and fragment shader at the same time.
2009-12-01tgsi/sanity: Up MAX_REGISTERS to 1024.Michal Krol
2009-11-30st/mesa: handle front/back-face +1/-1 vs. 1/0 conversionBrian Paul
Fixes progs/glsl/twoside.c demo.
2009-11-29r600 : clena up a bit for last commit.Richard Li
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-29nv50: update linkage on rasterizer changeChristoph Bumiller
We need to update VP_RESULT_MAP and/or COORD_REPLACE_MAP when light_twoside and/or point_sprite are changed.
2009-11-29nv50: match VP outputs to FP inputs ourselvesChristoph Bumiller
For each FP input, don't assume that the VP output will be at the same position, but scan the semantics instead, then put the correct output reg indices into VP_RESULT_MAP. Position is still assumed to be the first output/input. See 07fafc7c9346aa260829603bf3188596481e9e62, which renders previous assumptions incorrect.
2009-11-29nv50: don't permanently negate src in emit_ddyChristoph Bumiller
2009-11-28util: Fix bad code.Corbin Simpson
Uf. How embarrassing.
2009-11-28util: Improve bitcount.Corbin Simpson
Sorry for not pushing this before, it got lost in stashes.
2009-11-27nv50: do conversion of last insn to 64 bit format firstChristoph Bumiller
Simplifies things since the second to last one will then be converted in the subsequent pass that ensures alignment automatically.
2009-11-27nv50: bswap32 the polygon stipple patternChristoph Bumiller
The hardware wants the pattern the same way it is passed to glPolygonStipple.
2009-11-27gallium/util: added util_bswap32()Christoph Bumiller
2009-11-27svga: fix for not using texture width/height/depth arraysRoland Scheidegger
2009-11-27r300g,llvmpipe: fix some more merge problemsRoland Scheidegger
2009-11-27Merge branch 'width0'Roland Scheidegger
Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
2009-11-26gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger
width/height/depth arrays
2009-11-26tgsi/exec: Fix orientation of DDY.Michal Krol
2009-11-26tgsi/exec: Force return from a subroutine at ENDSUB.Michal Krol
2009-11-26draw: Fix max_index check.Keith Whitwell
We want to fallback to draw splitting when vertex element indices might be too high for atomic draw path (currently limited to 4095).
2009-11-26tgsi/ureg: Add forgotten goto in ureg_DECL_constant().Michal Krol
2009-11-26llvmpipe: Fake missing SSSE3 when simulation less capabable machines.José Fonseca
SSE3 != SSSE3 and so far we only use the later.
2009-11-26llvmpipe: Update/correct CPU requirements.José Fonseca
There are no hard requirements at the moment. We don't really emit any sse3 yet. Just some ssse3. Thanks to Roland for spotting these incorrections.
2009-11-26Merge commit 'origin/st-shader-varients'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_atom_shader.c src/mesa/state_tracker/st_program.c
2009-11-25r600: add ARB_texture_non_power_of_two support.Dave Airlie
This makes the miptree rounds up to the near POT for each level for all radeons, however since mipmaps aren't support with NPOT on previous radeons this calculation shouldn't cause any problems. If it does we can just make it r600 only. I tested a few mipmap demos on r500 and they all seem to work. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-24r600 : reset stack flag with one channel only.Richard Li
2009-11-24r600 : fix stack depth setting bug.Richard Li
2009-11-24llvmpipe: Update instructions.José Fonseca
2009-11-24svga: Handle comment tokens when dumping.José Fonseca
2009-11-24svga: Use consistent names for public symbol names of shader dumping facilities.José Fonseca
2009-11-24svga: Use consistent file names for dumping facilities.José Fonseca
2009-11-24util: Describe a few more formats.José Fonseca
2009-11-24llvmpipe: Use assert instead of abort. Only verify functions on debug builds.José Fonseca
2009-11-24llvmpipe: Fix memory leak.José Fonseca
2009-11-24llvmpipe: Use the generic conversion routine for depths.José Fonseca
This allows for z32f depth format to work correctly.
2009-11-24llvmpipe: Be more conservative with the supported formats.José Fonseca
We'll likely support much more formats, but doing this allows to run more testsuites without immediately hit assertion failures.
2009-11-24wgl: Fix copy'n'paste typo in comment.José Fonseca
2009-11-24llvmpipe: Fix typo in comparison operator.José Fonseca
2009-11-24tgsi: Document Declaration Semantic token and FACE semantic name.Michal Krol
2009-11-24slang: Fix allocation size.Michal Krol
We don't need 16K+ to store a single pointer.
2009-11-24mesa: Fix pointer arithmetic.Michal Krol
2009-11-24tgsi: Implement predicated instructions in exec.Michal Krol
2009-11-24tgsi: Add ureg_DECL_loop().Michal Krol
2009-11-24tgsi: Account for gallium shader token representation changes.Michal Krol
2009-11-24gallium: Refactor the instruction predicate TGSI token.Michal Krol
Rename it to tgsi_instruction_predicate -- it's no longer an extended token. Its presence is indicated by a new flag in tgsi_instruction that indicates whether an instruction is predicated. Also, change predicate index representation to match the other tokens that specify register indices.
2009-11-24r300: fix swtcl bo leak problem.Dave Airlie
We can get a lot of swtcl bo allocations - need to probably abstract this a bit further. Signed-off-by: Dave Airlie <airlied@redhat.com>