mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
r600/sfn: Add VS for TCS shader skeleton
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>
This commit is contained in:
parent
e17ac0d774
commit
7fb5c835f7
2 changed files with 27 additions and 0 deletions
|
|
@ -551,4 +551,23 @@ void VertexShaderFromNirForGS::finalize_exports()
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
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()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,6 +91,14 @@ public:
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue