mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 15:30:14 +01:00
i915g: Fix comment in is buffer referenced
This commit is contained in:
parent
18768393d1
commit
57d77c6a44
1 changed files with 3 additions and 7 deletions
|
|
@ -155,15 +155,11 @@ static unsigned int
|
||||||
i915_is_buffer_referenced(struct pipe_context *pipe,
|
i915_is_buffer_referenced(struct pipe_context *pipe,
|
||||||
struct pipe_buffer *buf)
|
struct pipe_buffer *buf)
|
||||||
{
|
{
|
||||||
/**
|
/*
|
||||||
* FIXME: Return the corrent result. We can't alays return referenced
|
* Since we never expose hardware buffers to the state tracker
|
||||||
* since it causes a double flush within the vbo module.
|
* they can never be referenced, so this isn't a lie
|
||||||
*/
|
*/
|
||||||
#if 0
|
|
||||||
return PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE;
|
|
||||||
#else
|
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue