mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/msl: Implement VKD3DSIH_NOP.
This commit is contained in:
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)
|
static void msl_handle_instruction(struct msl_generator *gen, const struct vkd3d_shader_instruction *ins)
|
||||||
{
|
{
|
||||||
gen->location = ins->location;
|
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)
|
static void msl_generator_generate(struct msl_generator *gen)
|
||||||
|
Reference in New Issue
Block a user