summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_info.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-25 19:36:06 +0200
committerNicolai Hähnle <[email protected]>2017-07-31 14:55:43 +0200
commit7de445377c261e20412cb4f34b8d309b62f78fac (patch)
tree9b5d43d8996b2a1c9cd37a64f92d52893502a93e /src/amd/common/ac_shader_info.h
parent25ff22e390d645a7df8e641d0b17cf6fbf551976 (diff)
ac/nir,radv: move force_persample to ac_shader_info::force_persample
Avoid accessing radv-specific structures during the meat of NIR-to-LLVM translation. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_info.h')
-rw-r--r--src/amd/common/ac_shader_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_info.h b/src/amd/common/ac_shader_info.h
index 5bc16cc9d02..965ad542a2a 100644
--- a/src/amd/common/ac_shader_info.h
+++ b/src/amd/common/ac_shader_info.h
@@ -36,6 +36,7 @@ struct ac_shader_info {
bool needs_instance_id;
} vs;
struct {
+ bool force_persample;
bool needs_sample_positions;
} ps;
struct {