summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-08-29 11:12:25 +0200
committerSamuel Pitoiset <[email protected]>2019-08-30 09:29:29 +0200
commit151d6990ec7164c7e3678bb6032032d49b117c85 (patch)
treed656a5a65eeeb2e71cbd834e009f169b6bdf98e2 /src/amd/vulkan/radv_shader.h
parent9f2fd23f99c567cef1daa67e0b48073c96aa14ee (diff)
radv: gather info about PS inputs in the shader info pass
It's the right place to do that. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r--src/amd/vulkan/radv_shader.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h
index 6c9e0bd239f..b8770b8c999 100644
--- a/src/amd/vulkan/radv_shader.h
+++ b/src/amd/vulkan/radv_shader.h
@@ -210,6 +210,10 @@ struct radv_shader_info {
bool prim_id_input;
bool layer_input;
uint8_t num_input_clips_culls;
+ uint32_t input_mask;
+ uint32_t flat_shaded_mask;
+ uint32_t float16_shaded_mask;
+ uint32_t num_interp;
} ps;
struct {
bool uses_grid_size;
@@ -270,10 +274,6 @@ struct radv_shader_variant_info {
bool export_prim_id;
} vs;
struct {
- unsigned num_interp;
- uint32_t input_mask;
- uint32_t flat_shaded_mask;
- uint32_t float16_shaded_mask;
bool can_discard;
bool early_fragment_test;
bool post_depth_coverage;