[Mesa-dev] [PATCH 12/21] gallium: add CAPs for vertex fetcher
Marek Olšák
maraeo at gmail.com
Wed Apr 11 08:38:46 PDT 2012
Supported vertex formats can be queried using
is_format_supported(.., PIPE_BIND_VERTEX_BUFFER, ..).
---
src/gallium/include/pipe/p_defines.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index e49d192..2ecea3c 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -473,7 +473,11 @@ enum pipe_cap {
PIPE_CAP_VERTEX_COLOR_UNCLAMPED = 60,
PIPE_CAP_VERTEX_COLOR_CLAMPED = 61,
PIPE_CAP_GLSL_FEATURE_LEVEL = 62,
- PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 63
+ PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 63,
+ PIPE_CAP_USER_VERTEX_BUFFERS = 64,
+ PIPE_CAP_VERTEX_BUFFER_OFFSET_DWORD_ALIGNED_ONLY = 65,
+ PIPE_CAP_VERTEX_BUFFER_STRIDE_DWORD_ALIGNED_ONLY = 66,
+ PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_DWORD_ALIGNED_ONLY = 67,
};
/**
--
1.7.5.4
More information about the mesa-dev
mailing list