summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/galahad
Commit message (Collapse)AuthorAgeFilesLines
* scons: Add aliases for several pipe drivers.José Fonseca2010-11-021-0/+2
|
* galahad: silence warningsBrian Paul2010-10-222-3/+3
|
* gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)Luca Barbieri2010-09-142-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in v3: - Also change trace, which I forgot about Changes in v2: - No longer adds tessellation shaders Currently each shader cap has FS and VS versions. However, we want a version of them for geometry, tessellation control, and tessellation evaluation shaders, and want to be able to easily query a given cap type for a given shader stage. Since having 5 duplicates of each shader cap is unmanageable, add a new get_shader_param function that takes both a shader cap from a new enum and a shader stage. Drivers with non-unified shaders will first switch on the shader and, within each case, switch on the cap. Drivers with unified shaders instead first check whether the shader is supported, and then switch on the cap. MAX_CONST_BUFFERS is now per-stage. The geometry shader cap is removed in favor of checking whether the limit of geometry shader instructions is greater than 0, which is also used for tessellation shaders. WARNING: all drivers changed and compiled but only nvfx tested
* galahad: do map/unmap counting for resourcesBrian Paul2010-09-032-0/+18
|
* util: remove util_is_pot in favor of util_is_power_of_twoMarek Olšák2010-08-291-1/+1
| | | | The function was duplicated.
* galahad: remove incorrect comment just addedLuca Barbieri2010-08-201-1/+0
|
* galahad: check resource_create templateLuca Barbieri2010-08-201-0/+29
|
* galahad, i915g: Copy over constant buffer index check.Corbin Simpson2010-08-201-0/+9
|
* galahad, i915g: Move over a few state asserts.Corbin Simpson2010-08-201-0/+16
|
* galahad: Make it obvious on stderr that Galahad's active.Corbin Simpson2010-08-192-0/+4
|
* gallium: Keep only pipe_context::draw_vbo.Chia-I Wu2010-07-291-68/+0
| | | | | | | That is, remove pipe_context::draw_arrays, pipe_context::draw_elements, pipe_context::draw_arrays_instanced, pipe_context::draw_elements_instanced, pipe_context::draw_range_elements.
* gallium: Implement draw_vbo and set_index_buffer for all drivers.Chia-I Wu2010-07-291-0/+47
| | | | | | | | | | | | | | | Some drivers define a generic function that is called by all drawing functions. To implement draw_vbo for such drivers, either draw_vbo calls the generic function or the prototype of the generic function is changed to match draw_vbo. Other drivers have no such generic function. draw_vbo is implemented by calling either draw_arrays and draw_elements. For most drivers, set_index_buffer does not mark the state dirty for tracking. Instead, the index buffer state is emitted whenever draw_vbo is called, just like the case with draw_elements. It surely can be improved.
* glhd: Build with sconsJakob Bornecrantz2010-06-281-2/+2
|
* glhd: Re-integrate with the debug systemJakob Bornecrantz2010-06-281-1/+5
|
* glhd: Remove leftover fileJakob Bornecrantz2010-06-281-35/+0
|
* Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz2010-06-283-99/+1
| | | | | | | | | Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c
* glhd: Add test for logicop enable.Corbin Simpson2010-06-241-0/+7
| | | | | | | | | Only for first RT at the moment, as there is no trivial way in galahad to look at framebuffer state and (sadly) people don't usually calloc their CSOs, so flags could be wrongly set. On the other hand, of course, galahad will hopefully encourage more people to calloc their CSOs. :3
* glhd: Simple rasterizer checks.Corbin Simpson2010-06-231-0/+10
| | | | From the documentation.
* id, glhd: Unbreak texturing.Corbin Simpson2010-06-231-0/+1
| | | | Argfl.
* glhd: Use an environment variable (GALAHAD) to enable. Off by default.Corbin Simpson2010-06-231-0/+3
|
* id, glhd: Fix malloc/calloc of struct.Corbin Simpson2010-06-221-1/+1
| | | | ( >&)
* glhd: Add query protection.Corbin Simpson2010-06-221-0/+10
| | | | Not quite copied from r300g. This is slightly more API-compliant.
* glhd: Grab framebuffer state checks from r300g.Corbin Simpson2010-06-222-0/+13
|
* glhd: Grab resource_copy_region from r300g.Corbin Simpson2010-06-221-0/+8
|
* glhd: Grab is_format_supported warning from r300g.Corbin Simpson2010-06-221-0/+4
|
* glhd: Add glhd_warn for unconditional stderr output.Corbin Simpson2010-06-222-0/+10
| | | | | | Design decision. Bad API errors should never be silenced. Of course, you can always not use galahad.
* id, glhd: Fix segfault with misreferenced pipe member.Corbin Simpson2010-06-222-3/+2
| | | | And remove the offending member to keep that from happening again.
* targets, radeong: Add Galahad.Corbin Simpson2010-06-221-1/+1
| | | | Currently unconditional and causes segfaults.
* gallium/drivers: Create Galahad from identity.Corbin Simpson2010-06-2211-0/+1930
Galahad is a sanity-checking layer meant to replace the crufty and scattered sanity checks inside drivers with a robust, non-silenceable, useful set of warnings and errors that can be used to keep misbehaving state trackers from going unnoticed.