summaryrefslogtreecommitdiff
path: root/src/amd/common/ac_nir_to_llvm.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-01-18 15:11:52 +1000
committerDave Airlie <airlied@redhat.com>2017-01-31 09:28:50 +1000
commit583cf8efd4e09565ef2b93d1fa4dc5528aa430e6 (patch)
tree87d7398f91ba2482c27450406e086401ecf88790 /src/amd/common/ac_nir_to_llvm.h
parentecb8a34910618d12ca686d63ba5c170214fee655 (diff)
radv/ac: add some geom shader info from nir->ac shader.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/amd/common/ac_nir_to_llvm.h')
-rw-r--r--src/amd/common/ac_nir_to_llvm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h
index 9d66f940b5..e71189ad3f 100644
--- a/src/amd/common/ac_nir_to_llvm.h
+++ b/src/amd/common/ac_nir_to_llvm.h
@@ -118,6 +118,12 @@ struct ac_shader_variant_info {
struct {
unsigned block_size[3];
} cs;
+ struct {
+ unsigned vertices_in;
+ unsigned vertices_out;
+ unsigned output_prim;
+ unsigned invocations;
+ } gs;
};
};