| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
this makes op2 emission smaller, since it skips instructions
that don't write to the dst. not sure if this could have unwanted
side effects but try it and see.
|
|
|
|
| |
though it isn't passing the test, and this instruction is pure bonghits.
|
| |
|
|
|
|
|
| |
Fixes crashes in glean glsl1 and demos/src/glsl/vert-tex.
See comments for details.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Keith prefers a clean separation between graw applications and
implementations, where apps do not link libgallium.a but instead
get all functionality they need via graw interface.
Although this is not incompatible with late loading of graw drivers, it
it would make it very hard to maintain, as wrappers for every utility
symbol exposed in graw would have to be written or generated somehow.
|
| |
|
| |
|
|
|
|
| |
It should be called DRM backend now.
|
|
|
|
|
|
| |
Include p_format.h for enum pipe_format symbol.
Fixes r300g build.
|
|
|
|
|
| |
Remove p_format.h.
Include p_compiler.h for boolean and uint64_t symbols.
|
|
|
|
|
|
| |
Remove p_state.h.
Include p_compiler.h for boolean symbol.
Add needed forward declarations after removing p_state.h.
|
|
|
|
| |
Include p_state.h for pipe_shader_state symbol.
|
|
|
|
| |
Include p_state.h for PIPE_MAX_COLOR_BUFS symbol.
|
|
|
|
|
| |
Include p_compiler.h for boolean symbol.
Clean up forward declarations.
|
|
|
|
| |
Include p_compiler.h for stdint.h uint*_t symbols.
|
|
|
|
|
| |
Remove p_compiler.h and p_defines.h.
Include pb_buffer.h for pb_size symbol.
|
|
|
|
|
| |
Include p_compiler.h for uint symbol.
Clean up forward declarations.
|
|
|
|
| |
Include p_compiler.h for boolean symbol.
|
|
|
|
| |
Include p_state.h for pipe_surface symbol.
|
| |
|
|
|
|
|
| |
Include p_compiler.h for boolean symbol.
Include u_debug.h for assert symbol.
|
|
|
|
|
| |
Pointless now that the graw tests can be built independently of any graw
implementation.
|
|
|
|
|
|
|
|
|
| |
This allows to build multiple graws libs simultaneously and avoid
unnecessary rebuilds of the tests.
Also remove graw_util.c from inside the graw implementation -- it was
only being provided by one implementation, and graw tests were linking
against gallium anyway.
|
|
|
|
| |
Sconscript could be invoked twice if specified in the command line.
|
|
|
|
|
| |
Include p_format.h for enum pipe_format symbol.
Include p_state.h for pipe_box symbol.
|
|
|
|
|
|
| |
Remove p_defines.h.
Remove unnecessary forward declarations.
Add forward declaration for pipe_context.
|
| |
|
|
|
|
|
|
|
| |
handle very early errors in pipe_screen creation (failure of
nouveau_screen_init in nv50_screen_create)
Signed-off-by: Francisco Jerez <[email protected]>
|
|
|
|
|
|
|
|
| |
Directly build PM4 packet, avoid using malloc (no states are
bigger than 128 dwords), remove unecessary informations,
remove pm4 building in favor of prebuild pm4 packet.
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
| |
Guard against potential use after free.
|
|
|
|
|
|
| |
It had no impact on correctness, though.
Reported by Vinson Lee.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This begins a process of repurposing this file. The existing usage is
as a header file for some software blit fallbacks, which should be
moved to a more appropriately named header.
|
| |
|
| |
|
|
|
|
|
|
| |
UNDEFINED_VERTEX_ID is used by draw_pipe_vbuf to decide whether a vertex
has been emitted or not. The non-pipeline pathes do not use it (they
tell the frontend the max vertex count when prepare() is called).
|
|
|
|
|
|
| |
Update all drivers to use draw_set_index_buffer,
draw_set_mapped_index_buffer, and draw_vbo. Remove
draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
|
|
|
|
|
|
|
| |
That is, implement draw_vbo directly. As a result,
svga_swtnl_draw_range_elements is also replaced by svga_swtnl_draw_vbo.
This commit should not have any functional change.
|
|
|
|
|
|
|
|
|
| |
This commit adds draw_set_index_buffer, draw_set_mapped_index_buffer,
and draw_vbo. The idea behind the new functions is that an index buffer
should be a state.
draw_arrays and draw_set_mapped_element_buffer are preserved, but the
latter will be removed soon.
|