summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/rbug
Commit message (Collapse)AuthorAgeFilesLines
* rbug: fix rbug when contexts are being destroyedZack Rusin2010-09-221-0/+1
|
* rbug: Fix 'assignment from incompatible pointer type' warning.Vinson Lee2010-09-131-1/+1
| | | | | | | | This is a follow-up to commit a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d. Fixes the following GCC warning. rbug_screen.c: In function 'rbug_screen_create': rbug_screen.c:331: warning: assignment from incompatible pointer type
* gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)Luca Barbieri2010-09-141-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* gallium: Keep only pipe_context::draw_vbo.Chia-I Wu2010-07-291-86/+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/+34
| | | | | | | | | | | | | | | 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.
* os, rbug: remove PIPE_THREAD_HAVE_CONDVARnobled2010-07-122-14/+0
| | | | | The new default implementation of pipe_condvar makes it unnecessary.
* gallium: adjust the query interface to support custom typesZack Rusin2010-06-081-1/+1
| | | | we need to change it to support composite types
* gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger2010-06-031-30/+30
| | | | | more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
* rbug: adapt to clear interface changesRoland Scheidegger2010-05-291-28/+48
|
* rbug: add set sample mask passthrough.Dave Airlie2010-05-261-0/+12
| | | | | | This at least stops rbug segfaulting at startup. Signed-off-by: Dave Airlie <[email protected]>
* rbug: fix breakage due to interface changesRoland Scheidegger2010-05-212-42/+56
|
* rbug: remove extra semicolonBrian Paul2010-05-171-1/+1
|
* rbug: Update and add READMEsJakob Bornecrantz2010-05-121-0/+58
|
* rbug: Add to all targets that link against traceJakob Bornecrantz2010-05-122-0/+9
| | | | | | Also added calls to the create function in target helpers and in tr_drm.c the latter being a hack and should be replaced with the wrap screen target helper. But at least this way we don't regress.
* rbug: Use container of macroJakob Bornecrantz2010-05-121-7/+10
|
* rbug: Fix draw blockingJakob Bornecrantz2010-05-123-2/+84
|
* rbug: Fix sampler views and surfaces in context infoJakob Bornecrantz2010-05-124-19/+39
|
* rbug: Fix shadersJakob Bornecrantz2010-05-125-36/+188
|
* rbug: Break out of traceJakob Bornecrantz2010-05-1210-0/+2797