summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
2009-10-14r300g: fixup arb occulsion query support.Dave Airlie
1: add rv530 support - num z pipes cap - add proper start/finish query options for rv530 2: convert to use linked list properly. 3: add flushing required check. 4: initial Z top disabling support. TODO: make it actually work on my rv530.
2009-10-14r300g: attempt to make bo space check sane.Dave Airlie
This attempts to make r300g do proper bo space checking as opposed to whatever it was doing now. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-10-14r300g: fix case where texture unit 0 is disabled but unit 1 is enabled.Dave Airlie
to reproduce, start texrect, disable 0 texture in menu. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-10-12r300g: More debug flags.Corbin Simpson
2009-10-12r300g: Surface debug.Corbin Simpson
It gets really annoying watching r300g tell me how it's filling surfaces. Or falling back during filling surfaces.
2009-10-12r300g: Fallback on surfaces we can't render to or from.Corbin Simpson
Still not sure why st keeps handing down things we can't render to.
2009-10-12r300g: Prevent multiple-use textures from getting incorrectly approved.Corbin Simpson
2009-10-12r300g: Clean up texture formats.Corbin Simpson
2009-10-11r300g: Fix fragment program constants upload on R300Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-11r300g: fix blending default state + alpha separate.Dave Airlie
this makes the default state same as r300
2009-10-10r300g: add video surface create and destroy functionsCooper Yuan
2009-10-07Merge branch 'master' into r300g-glslNicolai Hähnle
Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-05r300g: fix scons buildJoakim Sindholt
So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
2009-10-04r300g: xRGB and RGBx formats.Corbin Simpson
We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals, only five of which ever get tested. :3
2009-10-04r300/compiler: Refactor to allow different instruction typesNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300/compiler: Introduce control flow instructions and refactor dataflowNicolai Hähnle
Note that control flow instruction support isn't actually fully functional yet. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03Merge branch 'master' into r300-compilerNicolai Hähnle
2009-10-03r300g: Do not abort on fragment program compiler errorNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Remove an unnecessarily created pipe buffer (and thus fix a leak)Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Reset vbo_offset after allocation of a new bufferNicolai Hähnle
This fixes the glxgears bug, among other things. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-02gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer
Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
2009-09-28r300g: fix r300g cause GPU hang issue.Cooper Yuan
why there are two input position semantic tags is that ureg doesn't set vs input semantic due to commit: 6d8dbd3d1ec888 so use vs input index instead of semantic name.
2009-09-27r300g: fix erroneous conditionMaciej Cencora
2009-09-27r300g: don't force vertex position for HW TCL pathMaciej Cencora
It could be generated by vertex shader.
2009-09-27r300g: add some assertionsMaciej Cencora
Not sure why we are getting a shader with two inputs with position semantic, but we don't know how to handle it correctly so it's better to stop the app than lock the machine.
2009-09-27r300g: plug memory leakMaciej Cencora
2009-09-27r300g: add some debugging infoMaciej Cencora
2009-09-28r300g: fix r300 rs pathDave Airlie
2009-09-28r300g: rewrite RS state setup.Dave Airlie
Not 100% sure this is correct, but its more correct than what was here previous however it may require changes in the input routing for the frag shader.
2009-09-28r300g: silence compiler warningDave Airlie
2009-09-26r300g: add tx depth support in register.Dave Airlie
also enable cube/3d bits in txformat reg
2009-09-26r300g: only pass complete texture state to hw setup functionDave Airlie
No point passing things twice here, also allows more state to be setup properly.
2009-09-26r300g: add missing break in OQ emitDave Airlie
2009-09-26r300g: report GL1.5, enable cap bits for OQ and shadow.Dave Airlie
Its not like it works well on 1.3 so may as well reach for greater heights. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-26r300g: add z16 unorm texture formatDave Airlie
2009-09-26r300g: fix texture pitch to correct value.Dave Airlie
pitch is pixels - 1, not bytes.
2009-09-25r300g: add texture format for xvmcCooper Yuan
2009-09-21r300g: Fix bad formatting parameters in calls to debug_printfNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-21Merge branch 'master' into r300-compilerNicolai Hähnle
There were additional non-textual conflicts. Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c src/mesa/drivers/dri/r300/compiler/radeon_program.c src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c
2009-09-16gallium: Deprecate PIPE_CAP_S3TC.José Fonseca
No longer used. S3TC support is queried via pipe_screen::is_format_supported.
2009-09-13r300g: delete unused flag due to commit: 09b566e1610Cooper Yuan
2009-09-12r300g: There is no such thing as "texture stride"Nicolai Hähnle
Individual texture images have a stride, but textures as a whole do not. There are still pieces of code which are confused about this, but the core of the confusion is hopefully gone. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-11r300g: only allocate one BO for vertex buffers, default size is 64*1024Cooper Yuan
it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on
2009-09-06r300g: Fix a number of warningsNicolai Hähnle
Seriously guys....
2009-09-06r300g: Debug flags infrastructureNicolai Hähnle
So that debugging is no longer a full-spam-or-nothing approach, you are now supposed to set the RADEON_DEBUG environment flag just like for classic Mesa. The available debug flags are different, however. Just running an OpenGL application with RADEON_DEBUG set to an arbitrary string will print out helpful information. Everything must be compiled with -DDEBUG for any of this to work
2009-09-06Merge branch 'master' into r300-compilerNicolai Hähnle
Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c
2009-09-05r300g: update the value of register VAP_VF_MAX_VTX_INDXCooper Yuan
according to actual vertex index count.
2009-09-05r300g: update rs_block state after changing rasterizerCooper Yuan
2009-09-05r300g: need to validate scissor and viewport state if bind new rasterizerCooper Yuan
2009-09-03r300g: specify point/line/triangle have stuffed texture coordCooper Yuan