This adds the VS shader type that handles the output to tesselation shaders
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3225>
{
}
+
+VertexShaderFromNirForES::VertexShaderFromNirForES(r600_pipe_shader *sh,
+ UNUSED const pipe_stream_output_info *so_info,
+ r600_pipe_shader_selector& sel,
+ const r600_shader_key &key):
+ VertexShaderFromNir(sh, sel, key)
+{
+}
+
+bool VertexShaderFromNirForES::do_emit_store_deref(UNUSED const nir_variable *out_var,
+ UNUSED nir_intrinsic_instr* instr)
+{
+ return false;
+}
+
+void VertexShaderFromNirForES::finalize_exports()
+{
+}
+
}
const r600_shader *m_gs_shader;
};
+class VertexShaderFromNirForES : public VertexShaderFromNir {
+public:
+ VertexShaderFromNirForES(r600_pipe_shader *sh, const pipe_stream_output_info *so_info, r600_pipe_shader_selector &sel,
+ const r600_shader_key &key);
+ bool do_emit_store_deref(const nir_variable *out_var, nir_intrinsic_instr* instr) override;
+ void finalize_exports() override;
+};
+
}
#endif