mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader/dxil: Rename "handler_idx" to "opcode" in instruction_init_with_resource().
This commit is contained in:
committed by
Henri Verbeet
parent
39a9f0921c
commit
9779b62699
Notes:
Henri Verbeet
2025-10-09 15:58:04 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1780
@@ -2430,9 +2430,9 @@ static unsigned int sm6_parser_alloc_ssa_id(struct sm6_parser *sm6)
|
||||
}
|
||||
|
||||
static void instruction_init_with_resource(struct vkd3d_shader_instruction *ins,
|
||||
enum vkd3d_shader_opcode handler_idx, const struct sm6_value *resource, struct sm6_parser *sm6)
|
||||
enum vkd3d_shader_opcode opcode, const struct sm6_value *resource, struct sm6_parser *dxil)
|
||||
{
|
||||
vsir_instruction_init(ins, &sm6->p.location, handler_idx);
|
||||
vsir_instruction_init(ins, &dxil->p.location, opcode);
|
||||
ins->resource_type = resource->u.handle.d->resource_type;
|
||||
ins->raw = resource->u.handle.d->kind == RESOURCE_KIND_RAWBUFFER;
|
||||
ins->structured = resource->u.handle.d->kind == RESOURCE_KIND_STRUCTUREDBUFFER;
|
||||
|
||||
Reference in New Issue
Block a user