The code expects the geometry shader to be NULL.
We don't have geometry shaders now, but it's good to be prepared.
---
src/gallium/auxiliary/util/u_blit.c | 25 +
src/gallium/auxiliary/util/u_gen_mipmap.c | 16
What about checking has_geometry_shader inside cso module, and make
cso_save_geometry_shader no-ops when it's false?
Seems less code and more reusable.
Jose
- Original Message -
The code expects the geometry shader to be NULL.
We don't have geometry shaders now, but it's good to be
The code expects the geometry shader to be NULL.
We don't have geometry shaders now, but it's good to be prepared.
v2: check for support in the cso context
---
src/gallium/auxiliary/cso_cache/cso_context.c | 17 -
src/gallium/auxiliary/util/u_blit.c |6 ++
- Original Message -
The code expects the geometry shader to be NULL.
We don't have geometry shaders now, but it's good to be prepared.
v2: check for support in the cso context
---
src/gallium/auxiliary/cso_cache/cso_context.c | 17
-