diff options
author | Jason Ekstrand <[email protected]> | 2017-04-03 12:25:15 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-04-04 18:33:51 -0700 |
commit | c6f69eea6ac549fc2ffa46944de4dd82c9b53329 (patch) | |
tree | 56de3f537176ad04058eb3464dc46157256a9698 /m4 | |
parent | 3503b2714b98684a2ceba5f4fd9a5bfbfbcaad38 (diff) |
anv/pipeline: Properly handle unset gl_Layer and gl_ViewportIndex
When the shader does not set one of these values, they are supposed to
get a default value of 0. We have hardware bits in 3DSTATE_CLIP for
this but haven't been setting them. This fixes the intermittent failure
of dEQP-VK.geometry.layered.3d.render_to_default_layer.
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "13.0 17.0" <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions