21 Feb
2024
21 Feb
'24
10:46 p.m.
Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/ir.c:
+ } + + /* Substitute the temp for the vector clip/cull source. */ + vsir_register_init(reg, VKD3DSPR_TEMP, reg->data_type, 1); + reg->dimension = VSIR_DIMENSION_VEC4; + reg->idx[0].offset = parser->program.temp_count; +} + +static void shader_instruction_normalise_clip_cull_params(struct vkd3d_shader_instruction *ins, + struct clip_cull_normaliser *normaliser) +{ + unsigned int i, write_mask; + + if (ins->handler_idx == VKD3DSIH_NOP) + return; + Is this helpful?
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/564#note_62267