r600/sb: add tess/compute initial state registers.
This stops them being optimised out. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
68b976bd91
commit
05f5282d63
|
@ -149,11 +149,14 @@ int bc_parser::parse_decls() {
|
|||
}
|
||||
}
|
||||
|
||||
if (sh->target == TARGET_VS || sh->target == TARGET_ES || sh->target == TARGET_HS)
|
||||
if (sh->target == TARGET_VS || sh->target == TARGET_ES || sh->target == TARGET_HS || sh->target == TARGET_LS)
|
||||
sh->add_input(0, 1, 0x0F);
|
||||
else if (sh->target == TARGET_GS) {
|
||||
sh->add_input(0, 1, 0x0F);
|
||||
sh->add_input(1, 1, 0x0F);
|
||||
} else if (sh->target == TARGET_COMPUTE) {
|
||||
sh->add_input(0, 1, 0x0F);
|
||||
sh->add_input(1, 1, 0x0F);
|
||||
}
|
||||
|
||||
bool ps_interp = ctx.hw_class >= HW_CLASS_EVERGREEN
|
||||
|
|
Loading…
Reference in New Issue