Skip to content
Snippets Groups Projects

vkd3d-shader/dxil: Wave ops part 4.

Merged Conor McCarthy requested to merge cmccarthy/vkd3d:wave_ops_4 into master
1 unresolved thread

Goes atop !856 (merged). The last 6 commits belong here.

Merge request reports

Merge request pipeline #26406 skipped

Merge request pipeline skipped for e1c774bf

Merged by Alexandre JulliardAlexandre Julliard 9 months ago (May 14, 2024 9:00pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
9923 9939 spirv_compiler_emit_store_dst(compiler, dst, val_id);
9924 9940 }
9925 9941
9942 static void spirv_compiler_emit_wave_read_lane_at(struct spirv_compiler *compiler,
9943 const struct vkd3d_shader_instruction *instruction)
9944 {
9945 struct vkd3d_spirv_builder *builder = &compiler->spirv_builder;
9946 const struct vkd3d_shader_dst_param *dst = instruction->dst;
9947 const struct vkd3d_shader_src_param *src = instruction->src;
9948 uint32_t type_id, lane_id, val_id;
9949
9950 type_id = vkd3d_spirv_get_type_id_for_data_type(builder, dst->reg.data_type,
9951 vsir_write_mask_component_count(dst->write_mask));
9952 val_id = spirv_compiler_emit_load_src(compiler, &src[0], dst->write_mask);
9953 lane_id = spirv_compiler_emit_load_reg(compiler, &src[1].reg, 0, VKD3DSP_WRITEMASK_0);
  • Giovanni Mascellani approved this merge request

    approved this merge request

  • Conor McCarthy added 4 commits

    added 4 commits

    • 31a9dbca - vkd3d-shader/spirv: Implement the WAVE_READ_LANE_AT instruction.
    • 947f728d - vkd3d-shader/dxil: Implement DX intrinsic WaveReadLaneFirst.
    • 8f0ba343 - tests/hlsl: Clear the RTV before the WaveReadLaneFirst() test.
    • 71ffcf35 - vkd3d-shader/spirv: Implement the WAVE_READ_LANE_FIRST instruction.

    Compare with previous version

  • Conor McCarthy added 36 commits

    added 36 commits

    • 71ffcf35...98f73ca2 - 30 commits from branch wine:master
    • d4e11438 - tests/hlsl: Add a test for WaveReadLaneAt() with a non-uniform index.
    • 52413eb6 - vkd3d-shader/dxil: Implement DX intrinsic WaveReadLaneAt.
    • 3b54cae7 - vkd3d-shader/spirv: Implement the WAVE_READ_LANE_AT instruction.
    • eebd796c - vkd3d-shader/dxil: Implement DX intrinsic WaveReadLaneFirst.
    • 17c0a900 - tests/hlsl: Clear the RTV before the WaveReadLaneFirst() test.
    • edc96607 - vkd3d-shader/spirv: Implement the WAVE_READ_LANE_FIRST instruction.

    Compare with previous version

  • Rebase only.

  • Henri Verbeet approved this merge request

    approved this merge request

  • added 7 commits

    • c9af34ab - 1 commit from branch wine:master
    • 5790056c - tests/hlsl: Add a test for WaveReadLaneAt() with a non-uniform index.
    • e41643ab - vkd3d-shader/dxil: Implement DX intrinsic WaveReadLaneAt.
    • 936d8e4f - vkd3d-shader/spirv: Implement the WAVE_READ_LANE_AT instruction.
    • 47f04832 - vkd3d-shader/dxil: Implement DX intrinsic WaveReadLaneFirst.
    • cb9b10bf - tests/hlsl: Clear the RTV before the WaveReadLaneFirst() test.
    • e1c774bf - vkd3d-shader/spirv: Implement the WAVE_READ_LANE_FIRST instruction.

    Compare with previous version

  • Alexandre Julliard approved this merge request

    approved this merge request

  • Please register or sign in to reply
    Loading