diff options
author | Gert Wollny <[email protected]> | 2020-04-12 16:42:07 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-28 08:06:33 +0000 |
commit | 096a026354cb31a1c858e5ffe18ba9a2a02a9d65 (patch) | |
tree | e79bf3bcb4bc07ffc10ef3428762dcc33bde50fc /src/gallium/drivers/r600/r600_shader.h | |
parent | 7d476a1360d3615f510719174887b9004dfdff48 (diff) |
r600: Handle texcoord semantics in LDS index evaluation
With NIR the texcoord semantic is enabled, and hence we have to handle
index evaluation differently here.
Signed-off-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4714>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h index 1e00a9527b5..06ff97fe9e0 100644 --- a/src/gallium/drivers/r600/r600_shader.h +++ b/src/gallium/drivers/r600/r600_shader.h @@ -189,7 +189,7 @@ struct r600_pipe_shader { TGSI_INTERPOLATE_LOC_CENTER/SAMPLE/COUNT. Other input values return -1. */ int eg_get_interpolator_index(unsigned interpolate, unsigned location); -int r600_get_lds_unique_index(unsigned semantic_name, unsigned index); +int r600_get_lds_unique_index(unsigned semantic_name, unsigned index, bool texcoord_semantics); int generate_gs_copy_shader(struct r600_context *rctx, struct r600_pipe_shader *gs, |