summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_emit.c
AgeCommit message (Collapse)Author
2010-06-27r300g: turn invariant state into a command bufferMarek Olšák
2010-06-26r300g: introduce VAP invariant stateMarek Olšák
Unlike other invariant states, this one must be emitted after VAP flush.
2010-06-24r300g: remove an XXX commentMarek Olšák
2010-06-24r300g: move AA registers into the new AA stateMarek Olšák
2010-06-24r300g: separate the cache flush from the framebuffer stateMarek Olšák
2010-06-24r300g: reorder and cleanup register writes everywhereMarek Olšák
2010-06-19r300g: fix random pixels appearing / incomplete renderingMarek Olšák
This should fix the FDO bug #28612. Also, these piglit tests have been fixed: - fbo-copypix - scissor-copypixels - copytexsubimage - texredefine Finally, 2 flushes in the transfer path are no longer needed.
2010-06-17r300g: more reasonable MSPOS defaults in error pathMarek Olšák
2010-06-16r300g: Fix uninitialized variable warnings in error path.Vinson Lee
2010-06-16r300g: Moar MSAA setup.Corbin Simpson
Need to just add the resolve, then go switch to new DRM and test.
2010-06-16r300g: Old MSAA code from before gallium-msaa.Corbin Simpson
2010-06-14r300g: fix uploading RC state shader constants on r3xxMarek Olšák
I've messed this up in one of my previous commits. Reported-by: Igor Murzov
2010-06-14r300g: rewrite occlusion queriesMarek Olšák
The previous implementation had issues with queries spanning over several command streams as well as using a very large number of queries. This fixes flickering in Enemy Territory: Quake Wars. The driver now renders everything correctly in this game and the graphics is awesome.
2010-06-14r300g: emit viewport state as a dword tableMarek Olšák
2010-06-14r300g: subclass pipe_surfaceMarek Olšák
2010-06-13r300g: optimize emission of fragment shader constantsMarek Olšák
2010-06-13r300g: turn fragment shader into a CBMarek Olšák
2010-06-13r300g: turn depth stencil state into a CBMarek Olšák
2010-06-13r300g: turn clip state into a CBMarek Olšák
2010-06-13r300g: turn blend color into a CBMarek Olšák
2010-06-13r300g: turn blend state into a CBMarek Olšák
2010-06-13r300g: fix multiple render targetsMarek Olšák
This fixes tests/drawbuffers.
2010-06-08r300g: skip rendering for unsupported vertex formats instead of abortingMarek Olšák
The next step is to replace skipping by an actual fallback.
2010-06-06r300g: workaround index bias on chipsets that do not support itMarek Olšák
2010-06-02r300g: use the stored GEM domain in add_buffer/write_relocMarek Olšák
I admit blitting to/from GTT is actually enforced in this commit, texture transfers are now damned fast!
2010-06-02r300g: use r300_buffer_domain everywhereMarek Olšák
2010-05-28r300g/swtcl: fix WPOSMarek Olšák
There you are! r300->viewport_state is undefined when using SW TCL. Piglit score (r300g.tests): HW TCL: 231/275 SW TCL: 233/275
2010-05-26r300g/swtcl: force vertex prefetching for non-indexed primitivesMarek Olšák
2010-05-26r300g/swtcl: move emitting AOS to prepare_for_renderingMarek Olšák
2010-05-26r300g/swtcl: do not use u_upload_mgr and do not compute max_indexMarek Olšák
2010-05-17r300g: Add RS block dump.Corbin Simpson
Shows what's actually going on in the RS block.
2010-05-15r300g: fix BO space accounting for occlusion queriesMarek Olšák
2010-05-15r300g: rename a few emit_query functionsMarek Olšák
2010-05-12r300g: Fix indentation.Corbin Simpson
2010-05-08r300g: move GA_POINT_MINMAX back to rs_stateMarek Olšák
This basically reverts commit 74f94e8fdfe035fa68acdc19e6b0afc2957a4264.
2010-05-08r300g: consolidate common render code into one functionMarek Olšák
This reduces redundant code by moving: - CS space reservation - buffer validation - dirty state emission - index bias emission - AOS emission into r300_prepare_for_rendering.
2010-05-02r300g: merge VS output mapping state (VAP) to rasterizer block state (RS)Marek Olšák
These two should be tied together because what's set in VAP or stuffed in GA should be rasterized in RS. Not doing so causes a hardlock. The reason for the merge is that if stuffed texture coordinates (e.g. point sprite texgen) happen to occupy the texcoord slot dedicated to fog or wpos, the two must be relocated to other free slots, which needs remapping the vertex shader outputs. The rasterizer code is now literally a sequence read-rasterize-write.
2010-04-28r300g: move ZTOP to separate fileMarek Olšák
Ideally, HiZ should go in r300_hyperz.c next to ZTOP.
2010-04-27r300g: compensate for non-atomized emit_query_end in the CSMarek Olšák
And reserve a little more space just in case.
2010-04-26r300g: use CS_OUT_TABLE betterMatt Turner
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-04-26r300g: Rudimentary stats, printed on exit.Corbin Simpson
Whoo!
2010-04-26r300g: Use table CS writing when applicable.Corbin Simpson
I just broke the 2000 fps barrier on glxgears. Yay?
2010-04-26r300g: force prefetch for non-indexed verticesMarek Olšák
2010-04-26r300g: abort if a vertex buffer offset is not dword-alignedMarek Olšák
2010-04-16r300/compiler: make ARB_shadow_ambient optionalMarek Olšák
This saves constant register space for r300g, which doesn't need this feature.
2010-04-14r300g: simplify get_shader_constant to be rc-constant-state specificMarek Olšák
2010-04-14r300g: remove the CS compenstation for non-atomized statesMarek Olšák
Now there aren't any. If CS overflow occurs, the fix should go directly before the problematic BEGIN_CS.
2010-04-14r300g: remove always_dirty flag and correct leftoversMarek Olšák
2010-04-14r300g: atomize beginning occlusion queryMarek Olšák
2010-04-14r300g: atomize VS constant bufferMarek Olšák