Quellcode durchsuchen

svga: build fixes

gallium-buffer-usage-cleanup
Keith Whitwell vor 15 Jahren
Ursprung
Commit
65757a143f

+ 1
- 0
src/gallium/drivers/svga/svga_sampler_view.c Datei anzeigen

@@ -39,6 +39,7 @@
#include "svga_sampler_view.h"
#include "svga_winsys.h"
#include "svga_debug.h"
#include "svga_surface.h"

#include <util/u_string.h>


+ 0
- 1
src/gallium/drivers/svga/svga_state_constants.c Datei anzeigen

@@ -83,7 +83,6 @@ static int emit_consts( struct svga_context *svga,
int unit )
{
struct pipe_transfer *transfer = NULL;
struct pipe_screen *screen = svga->pipe.screen;
unsigned count;
const float (*data)[4] = NULL;
unsigned i;

+ 1
- 1
src/gallium/drivers/svga/svga_surface.c Datei anzeigen

@@ -43,7 +43,7 @@
#include <util/u_string.h>


static void
void
svga_texture_copy_handle(struct svga_context *svga,
struct svga_screen *ss,
struct svga_winsys_surface *src_handle,

+ 12
- 0
src/gallium/drivers/svga/svga_surface.h Datei anzeigen

@@ -72,6 +72,18 @@ svga_texture_view_surface(struct pipe_context *pipe,
struct svga_host_surface_cache_key *key); /* OUT */


void
svga_texture_copy_handle(struct svga_context *svga,
struct svga_screen *ss,
struct svga_winsys_surface *src_handle,
unsigned src_x, unsigned src_y, unsigned src_z,
unsigned src_level, unsigned src_face,
struct svga_winsys_surface *dst_handle,
unsigned dst_x, unsigned dst_y, unsigned dst_z,
unsigned dst_level, unsigned dst_face,
unsigned width, unsigned height, unsigned depth);


static INLINE struct svga_surface *
svga_surface(struct pipe_surface *surface)
{

Laden…
Abbrechen
Speichern