summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into r300g-glslNicolai Hähnle2009-10-077-10/+32
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <[email protected]>
| * r300g: fix scons buildJoakim Sindholt2009-10-054-10/+17
| | | | | | | | | | | | 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.
| * r300g: xRGB and RGBx formats.Corbin Simpson2009-10-043-0/+15
| | | | | | | | | | We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals, only five of which ever get tested. :3
* | r300/compiler: Refactor to allow different instruction typesNicolai Hähnle2009-10-041-16/+16
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | r300/compiler: Introduce control flow instructions and refactor dataflowNicolai Hähnle2009-10-031-3/+3
| | | | | | | | | | | | Note that control flow instruction support isn't actually fully functional yet. Signed-off-by: Nicolai Hähnle <[email protected]>
* | Merge branch 'master' into r300-compilerNicolai Hähnle2009-10-0310-81/+85
|\|
| * r300g: Do not abort on fragment program compiler errorNicolai Hähnle2009-10-032-4/+9
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
| * r300g: Remove an unnecessarily created pipe buffer (and thus fix a leak)Nicolai Hähnle2009-10-031-7/+0
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
| * r300g: Reset vbo_offset after allocation of a new bufferNicolai Hähnle2009-10-031-2/+3
| | | | | | | | | | | | This fixes the glxgears bug, among other things. Signed-off-by: Nicolai Hähnle <[email protected]>
| * gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer2009-10-021-9/+2
| | | | | | | | | | | | 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.
| * r300g: fix r300g cause GPU hang issue.Cooper Yuan2009-09-281-3/+2
| | | | | | | | | | | | | | 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.
| * r300g: fix erroneous conditionMaciej Cencora2009-09-271-1/+1
| |
| * r300g: don't force vertex position for HW TCL pathMaciej Cencora2009-09-271-1/+3
| | | | | | | | It could be generated by vertex shader.
| * r300g: add some assertionsMaciej Cencora2009-09-271-0/+3
| | | | | | | | 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.
| * r300g: plug memory leakMaciej Cencora2009-09-271-1/+1
| |
| * r300g: add some debugging infoMaciej Cencora2009-09-271-10/+20
| |
| * r300g: fix r300 rs pathDave Airlie2009-09-281-2/+2
| |
| * r300g: rewrite RS state setup.Dave Airlie2009-09-281-24/+13
| | | | | | | | | | 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.
| * r300g: silence compiler warningDave Airlie2009-09-281-1/+1
| |
| * r300g: add tx depth support in register.Dave Airlie2009-09-262-0/+8
| | | | | | | | also enable cube/3d bits in txformat reg
| * r300g: only pass complete texture state to hw setup functionDave Airlie2009-09-261-15/+12
| | | | | | | | | | No point passing things twice here, also allows more state to be setup properly.
| * r300g: add missing break in OQ emitDave Airlie2009-09-261-0/+1
| |
| * r300g: report GL1.5, enable cap bits for OQ and shadow.Dave Airlie2009-09-261-4/+2
| | | | | | | | | | | | | | Its not like it works well on 1.3 so may as well reach for greater heights. Signed-off-by: Dave Airlie <[email protected]>
| * r300g: add z16 unorm texture formatDave Airlie2009-09-261-0/+2
| |
| * r300g: fix texture pitch to correct value.Dave Airlie2009-09-261-1/+1
| | | | | | | | pitch is pixels - 1, not bytes.
| * r300g: add texture format for xvmcCooper Yuan2009-09-251-0/+3
| |
| * r300g: Fix bad formatting parameters in calls to debug_printfNicolai Hähnle2009-09-211-2/+2
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | Merge branch 'master' into r300-compilerNicolai Hähnle2009-09-2120-92/+254
|\| | | | | | | | | | | | | | | | | | | 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
| * gallium: Deprecate PIPE_CAP_S3TC.José Fonseca2009-09-161-2/+0
| | | | | | | | | | No longer used. S3TC support is queried via pipe_screen::is_format_supported.
| * r300g: delete unused flag due to commit: 09b566e1610Cooper Yuan2009-09-131-1/+0
| |
| * r300g: There is no such thing as "texture stride"Nicolai Hähnle2009-09-126-24/+47
| | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * r300g: only allocate one BO for vertex buffers, default size is 64*1024Cooper Yuan2009-09-111-35/+33
| | | | | | | | it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on
| * r300g: Fix a number of warningsNicolai Hähnle2009-09-0610-10/+23
| | | | | | | | Seriously guys....
| * r300g: Debug flags infrastructureNicolai Hähnle2009-09-0610-21/+152
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'master' into r300-compilerNicolai Hähnle2009-09-064-5/+11
|\| | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c
| * r300g: update the value of register VAP_VF_MAX_VTX_INDXCooper Yuan2009-09-051-1/+2
| | | | | | | | according to actual vertex index count.
| * r300g: update rs_block state after changing rasterizerCooper Yuan2009-09-051-0/+1
| |
| * r300g: need to validate scissor and viewport state if bind new rasterizerCooper Yuan2009-09-051-0/+2
| |
| * r300g: specify point/line/triangle have stuffed texture coordCooper Yuan2009-09-031-1/+3
| |
| * tgsi: remove redundant CND0 opcodeKeith Whitwell2009-09-011-1/+0
| | | | | | | | Can be implemented with CMP src2, src1, src0
| * r300g: Fix clear issue on r300Cooper Yuan2009-09-011-3/+3
| |
* | r300: Remove all Mesa dependencies from the shader compilerNicolai Hähnle2009-08-302-142/+139
|/ | | | | | | | In particular, this removes the dependency on prog_instruction, which unfortunately creates some code duplication, but also opens a path towards adding some hardware-specific things in there. Signed-off-by: Nicolai Hähnle <[email protected]>
* r300g: Correct scissor setting, subtract 1 from window's width and heightCooper Yuan2009-08-272-7/+7
|
* r300g: Set the vector address in the input memory for ↵Cooper Yuan2009-08-241-16/+20
| | | | bypass_vs_clip_and_viewport case
* r300g: Force off ZTOP optimizations for now.Corbin Simpson2009-08-181-1/+2
|
* r300g: Utilize DONTBLOCK.Corbin Simpson2009-08-181-8/+19
| | | | Also ALGYRHYTHMS.
* r300g: Massively cleanup OQ.Corbin Simpson2009-08-186-29/+174
| | | | Still broken, but compiles cleaner, behaves better, etc.
* r300g: Add high_second_pipe cap for R3xx chipsets.Corbin Simpson2009-08-182-1/+11
| | | | | This name is totally subject to change if ever I need to separate R3xx for some other reason.
* Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."Corbin Simpson2009-08-185-0/+26
| | | | | | | | | | This reverts commit 6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59. Turns out that we *do* need these for OQ after all. Go figure. Conflicts: src/gallium/winsys/drm/radeon/core/radeon_r300.h
* r300g: Fix up remaining VAP_CNTL_STATUS writes for big endian.Michel Dänzer2009-08-111-2/+10
|