summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/galahad/glhd_screen.c
AgeCommit message (Collapse)Author
2010-09-14gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)Luca Barbieri
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
2010-08-29util: remove util_is_pot in favor of util_is_power_of_twoMarek Olšák
The function was duplicated.
2010-08-20galahad: remove incorrect comment just addedLuca Barbieri
2010-08-20galahad: check resource_create templateLuca Barbieri
2010-08-19galahad: Make it obvious on stderr that Galahad's active.Corbin Simpson
2010-06-28glhd: Re-integrate with the debug systemJakob Bornecrantz
2010-06-22glhd: Grab is_format_supported warning from r300g.Corbin Simpson
2010-06-22glhd: Add glhd_warn for unconditional stderr output.Corbin Simpson
Design decision. Bad API errors should never be silenced. Of course, you can always not use galahad.
2010-06-22gallium/drivers: Create Galahad from identity.Corbin Simpson
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.