mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/msl: Implement VKD3DSIH_NOP.
This commit is contained in:
parent
842841907e
commit
deda49e501
Notes:
Henri Verbeet
2024-09-17 11:36:42 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1076
@ -55,7 +55,15 @@ static void msl_unhandled(struct msl_generator *gen, const struct vkd3d_shader_i
|
||||
static void msl_handle_instruction(struct msl_generator *gen, const struct vkd3d_shader_instruction *ins)
|
||||
{
|
||||
gen->location = ins->location;
|
||||
msl_unhandled(gen, ins);
|
||||
|
||||
switch (ins->opcode)
|
||||
{
|
||||
case VKD3DSIH_NOP:
|
||||
break;
|
||||
default:
|
||||
msl_unhandled(gen, ins);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void msl_generator_generate(struct msl_generator *gen)
|
||||
|
Loading…
x
Reference in New Issue
Block a user