mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
softpipe: return PIPE_UNREFERENCED in softpipe_is_buffer/texture_referenced()
This allows the engine demo to run again (avoid crash in VBO code). This stuff still needs to be revisited someday though...
This commit is contained in:
parent
801a33ae44
commit
46ddcbc1a9
1 changed files with 2 additions and 2 deletions
|
|
@ -126,14 +126,14 @@ softpipe_is_texture_referenced( struct pipe_context *pipe,
|
|||
struct pipe_texture *texture,
|
||||
unsigned face, unsigned level)
|
||||
{
|
||||
return PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE;
|
||||
return PIPE_UNREFERENCED;
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
softpipe_is_buffer_referenced( struct pipe_context *pipe,
|
||||
struct pipe_buffer *buf)
|
||||
{
|
||||
return PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE;
|
||||
return PIPE_UNREFERENCED;
|
||||
}
|
||||
|
||||
struct pipe_context *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue