summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_nir_to_llvm.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-01-19 13:23:55 +1000
committerDave Airlie <[email protected]>2017-01-31 09:29:23 +1000
commit2a57bddd4c51d464f1a9eec60dd1b65285c9c916 (patch)
tree5ea993a0cdc15ba9e7021de7fd2d3ed9728653d0 /src/amd/common/ac_nir_to_llvm.h
parentb941a88e0177e899315927629219d0be1b219236 (diff)
radv/ac: propogate as_es flag into shader info from key.
This just places the flag into the shader info so we can use it from the driver after we create the shader. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_nir_to_llvm.h')
-rw-r--r--src/amd/common/ac_nir_to_llvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h
index c457ceab7eb..783331160e5 100644
--- a/src/amd/common/ac_nir_to_llvm.h
+++ b/src/amd/common/ac_nir_to_llvm.h
@@ -102,6 +102,7 @@ struct ac_shader_variant_info {
bool writes_pointsize;
bool writes_layer;
bool writes_viewport_index;
+ bool as_es;
uint8_t clip_dist_mask;
uint8_t cull_dist_mask;
} vs;