diff options
author | Christoph Bumiller <[email protected]> | 2012-04-24 13:34:36 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-24 13:37:03 +0200 |
commit | 587c221a29fe01e24c69952a7a9b0034f7652e4e (patch) | |
tree | bf6ebbece5b9e4337931c5e246485d039167d4e1 /src/gallium/drivers/nvc0 | |
parent | a48e5dee94460fb9b70a193069daca5f5b3e575b (diff) |
nv50,nvc0: handle new vertex fetch caps
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.c b/src/gallium/drivers/nvc0/nvc0_screen.c index 2f60a64e42e..457d56e7d9e 100644 --- a/src/gallium/drivers/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nvc0/nvc0_screen.c @@ -142,6 +142,10 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 0; /* state trackers will know better */ case PIPE_CAP_USER_VERTEX_BUFFERS: return 1; + case PIPE_CAP_VERTEX_BUFFER_OFFSET_4BYTE_ALIGNED_ONLY: + case PIPE_CAP_VERTEX_BUFFER_STRIDE_4BYTE_ALIGNED_ONLY: + case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY: + return 0; default: NOUVEAU_ERR("unknown PIPE_CAP %d\n", param); return 0; |