diff options
author | Nicolai Hähnle <[email protected]> | 2017-05-10 13:22:10 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-05-12 10:46:06 +0200 |
commit | 0dd8aa44b3d08e33574bbc528188d9bb4ea8f7d3 (patch) | |
tree | 2e2ef7629f4286cb7c587dfadea0893ed81fb9f6 /src/gallium | |
parent | 90339fabd7845c09aa73ea8516ad756103b2548a (diff) |
radeonsi: reduce the number of generics for shader IO unique indices
This is a high as possible while still allowing to merge the bitfields
with the next commit.
For OpenGL, 32 would be sufficient. Nine apparently uses (much!) higher
indices than. Indices that are out of bound don't hurt for VS-PS
pipelines, except that the VS output kill optimization is not applied.
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index cf97a719f2d..307590024f5 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -148,7 +148,7 @@ struct ac_shader_binary; /* Shader IO unique indices are supported for TGSI_SEMANTIC_GENERIC with an * index smaller than this. */ -#define SI_MAX_IO_GENERIC 60 +#define SI_MAX_IO_GENERIC 46 /* SGPR user data indices */ enum { |