diff options
author | Tim Rowley <[email protected]> | 2017-06-09 18:37:27 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-06-16 16:20:16 -0500 |
commit | a6237e4b7fa4c14766b15fb3c638dce1e4b12ad9 (patch) | |
tree | d5c41a7ac7268409fe098918314f56c10b339ae9 /src/gallium/drivers/swr/swr_shader.cpp | |
parent | 9b448da60ffb5aa807d9145bbac0fdbd580acea9 (diff) |
swr/rast: Fix read-back of viewport array index
Binner/clipper read viewport array index from the vertex header as needed.
Move viewport state to BACKEND_STATE.
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_shader.cpp')
-rw-r--r-- | src/gallium/drivers/swr/swr_shader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/swr_shader.cpp b/src/gallium/drivers/swr/swr_shader.cpp index f4029be89aa..dfc54fa7125 100644 --- a/src/gallium/drivers/swr/swr_shader.cpp +++ b/src/gallium/drivers/swr/swr_shader.cpp @@ -547,8 +547,6 @@ BuilderSWR::CompileGS(struct swr_context *ctx, swr_jit_gs_key &key) pGS->maxNumVerts = info->properties[TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES]; pGS->instanceCount = info->properties[TGSI_PROPERTY_GS_INVOCATIONS]; - pGS->emitsViewportArrayIndex = info->writes_viewport_index; - // XXX: single stream for now... pGS->isSingleStream = true; pGS->singleStreamID = 0; |