mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/spirv: Remove handling of VKD3DSPR_OUTCONTROLPOINT.
I/O normalization removes this register type.
This commit is contained in:
parent
b73d2c978d
commit
fa23165cc0
Notes:
Alexandre Julliard
2023-11-06 23:17:08 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/421
@ -4862,7 +4862,6 @@ static void spirv_compiler_emit_shader_phase_input(struct spirv_compiler *compil
|
||||
spirv_compiler_emit_input_register(compiler, dst);
|
||||
return;
|
||||
case VKD3DSPR_OUTPOINTID: /* Emitted in spirv_compiler_emit_initial_declarations(). */
|
||||
case VKD3DSPR_OUTCONTROLPOINT: /* See spirv_compiler_leave_shader_phase(). */
|
||||
return;
|
||||
default:
|
||||
FIXME("Unhandled shader phase input register %#x.\n", reg->type);
|
||||
|
@ -1119,7 +1119,7 @@ static inline bool vkd3d_shader_instruction_has_texel_offset(const struct vkd3d_
|
||||
|
||||
static inline bool vkd3d_shader_register_is_input(const struct vkd3d_shader_register *reg)
|
||||
{
|
||||
return reg->type == VKD3DSPR_INPUT || reg->type == VKD3DSPR_INCONTROLPOINT || reg->type == VKD3DSPR_OUTCONTROLPOINT;
|
||||
return reg->type == VKD3DSPR_INPUT || reg->type == VKD3DSPR_INCONTROLPOINT;
|
||||
}
|
||||
|
||||
static inline bool vkd3d_shader_register_is_output(const struct vkd3d_shader_register *reg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user