diff options
author | Kenneth Graunke <[email protected]> | 2018-12-05 03:30:42 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:11 -0800 |
commit | 598a78849e344d824d1790618fde0310c6badc76 (patch) | |
tree | ad26d1022b47d5d6bb3cc956afcfd61a9897b624 /src | |
parent | 392fba5f31ad6fd0bbf4d2f3ad13077ba7a1b1ab (diff) |
iris: Fix for PIPE_CAP_SIGNED_VERTEX_BUFFER_OFFSET
This fixes ext_transform_feedback-builtin-varyings gl_Position after the
combination of my transform feedback reworks and my vertex buffer
reworks (?)
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index fb32cb60d7f..cc3060c1bba 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -2379,7 +2379,7 @@ iris_set_vertex_buffers(struct pipe_context *ctx, if (res) { vb.BufferSize = res->bo->size; vb.BufferStartingAddress = - ro_bo(NULL, res->bo->gtt_offset + buffer->buffer_offset); + ro_bo(NULL, res->bo->gtt_offset + (int) buffer->buffer_offset); } else { vb.NullVertexBuffer = true; } |