Hi,

so the gallium state tracker falls over with one of the TBO tests and
I wsa wondering what the correct solution is.

After the tests run, the test leaves the fragment shader bound, but
has deleted the texture object and the buffer object,
so we just have the ctx->Shared->DefaultTex[TEXTURE_BUFFER_INDEX],
however since this has no buffer object bound
the code falls over.

Now the docs say the results of sampling from an tbo with no buffer
object is undefined, but crashing isn't probably the right solution

The intel driver seems to deal with there being no backing BO by
binding an object at address 0 with w/h = 0.

Suggestions?

Dave.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to