svga: Use pipe_shader_state_from_tgsi to set shader state
Use pipe_shader_state_from_tgsi() to set shader state for transformed
shader so that we get all correct data for respective shader state.
This fixes several regressed glretrace, piglit crashes found during merging
upsteam mesa
Fixes: bf12bc2dd7 (draw: add nir info gathering and building support)
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
committed by
Charmaine Lee
parent
470e73e7f8
commit
144561dc5e
@@ -131,7 +131,7 @@ emulate_point_sprite(struct svga_context *svga,
|
||||
tgsi_dump(new_tokens, 0);
|
||||
}
|
||||
|
||||
templ.tokens = new_tokens;
|
||||
pipe_shader_state_from_tgsi(&templ, new_tokens);
|
||||
templ.stream_output.num_outputs = 0;
|
||||
|
||||
if (streamout) {
|
||||
|
||||
Reference in New Issue
Block a user