mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 05:38:16 +02:00
microsoft/compiler: Delete incorrect implementation for load_layer_id
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20650>
This commit is contained in:
parent
a6f932639a
commit
8924fe9fc3
1 changed files with 0 additions and 11 deletions
|
|
@ -4377,15 +4377,6 @@ emit_load_sample_pos_from_id(struct ntd_context *ctx, nir_intrinsic_instr *intr)
|
|||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
emit_load_layer_id(struct ntd_context *ctx, nir_intrinsic_instr *intr)
|
||||
{
|
||||
const struct dxil_value *layer_id = dxil_module_get_int32_const(&ctx->mod, 0);
|
||||
/* TODO: Properly implement this once multi-view is supported */
|
||||
store_dest_value(ctx, &intr->dest, 0, layer_id);
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
emit_load_sample_id(struct ntd_context *ctx, nir_intrinsic_instr *intr)
|
||||
{
|
||||
|
|
@ -4583,8 +4574,6 @@ emit_intrinsic(struct ntd_context *ctx, nir_intrinsic_instr *intr)
|
|||
return emit_vulkan_resource_index(ctx, intr);
|
||||
case nir_intrinsic_load_vulkan_descriptor:
|
||||
return emit_load_vulkan_descriptor(ctx, intr);
|
||||
case nir_intrinsic_load_layer_id:
|
||||
return emit_load_layer_id(ctx, intr);
|
||||
|
||||
case nir_intrinsic_load_sample_pos_from_id:
|
||||
return emit_load_sample_pos_from_id(ctx, intr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue