Re: [Mesa-dev] [PATCH 13/14] st/mesa: set default tessellation levels

2015-06-23 Thread Roland Scheidegger
Another option would be to provide (no-op) implementations for all drivers. But I think generally we indeed check if the function is available in the state tracker before calling it for such things. Roland Am 23.06.2015 um 06:11 schrieb Ilia Mirkin: > This needs to be guarded on availability of t

Re: [Mesa-dev] [PATCH 13/14] st/mesa: set default tessellation levels

2015-06-22 Thread Ilia Mirkin
This needs to be guarded on availability of tessellation. I'm guessing that something ends up setting st.dirty to ~0, and this gets called even when the driver doesn't support tess. Just hit this playing back a trace with llvmpipe but with the tess patches: #1 0x737dcf49 in update_tess (s

[Mesa-dev] [PATCH 13/14] st/mesa: set default tessellation levels

2015-06-16 Thread Marek Olšák
From: Marek Olšák --- src/mesa/Makefile.sources | 1 + src/mesa/state_tracker/st_atom.c | 1 + src/mesa/state_tracker/st_atom.h | 1 + src/mesa/state_tracker/st_atom_tess.c | 59 +++ src/mesa/state_tracker/st_context.c | 1 + src/mesa/s