summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-04-30 01:20:19 +0200
committerMarek Olšák <[email protected]>2017-05-10 19:29:08 +0200
commit17f776c27be266f253194db9dc11764254b1fc86 (patch)
tree819c1a6dc42677a00189e5f3509285cc5c9b8886 /src/mesa/state_tracker/st_context.h
parent70dcb7377dca89a230731efc2e2d650c38bddd93 (diff)
st/mesa: upload zero-stride vertex attributes here
This is the best place to do it. Now drivers without u_vbuf don't have to do it. v2: use correct upload size and optimal alignment Tested-by: Edmondo Tommasina <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index eb1a1630fd5..68fd9b9d3d2 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -104,6 +104,7 @@ struct st_context
boolean has_half_float_packing;
boolean has_multi_draw_indirect;
boolean has_user_constbuf;
+ boolean can_bind_const_buffer_as_vertex;
/**
* If a shader can be created when we get its source.