Home
last modified time | relevance | path

Searched refs:primitive_id (Results 1 – 25 of 58) sorted by relevance

123

/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ray_queries.c137 rq_variable *primitive_id; member
202 result.primitive_id = in init_ray_query_intersection_vars()
293 rq_copy_var(b, index, vars->closest.primitive_id, vars->candidate.primitive_id, 0x1); in copy_candidate_to_closest()
465 return nir_bcsel(b, committed, rq_load_var(b, index, vars->closest.primitive_id), in lower_rq_load()
466 rq_load_var(b, index, vars->candidate.primitive_id)); in lower_rq_load()
543 nir_ssa_def *primitive_id = nir_channel(b, triangle_info, 0); in insert_traversal_triangle_case() local
561 rq_store_var(b, index, vars->candidate.primitive_id, primitive_id, 1); in insert_traversal_triangle_case()
590 nir_ssa_def *primitive_id = nir_channel(b, triangle_info, 0); in insert_traversal_aabb_case() local
637 rq_store_var(b, index, vars->candidate.primitive_id, primitive_id, 1); in insert_traversal_aabb_case()
Dradv_pipeline_rt.c220 nir_variable *primitive_id; member
287 vars.primitive_id = in create_rt_variables()
335 _mesa_hash_table_insert(var_remap, src->primitive_id, dst->primitive_id); in map_rt_variables()
362 inner_vars.primitive_id = in create_inner_vars()
583 ret = nir_load_var(&b_shader, vars->primitive_id); in lower_rt_instructions()
1156 nir_ssa_def *primitive_id = nir_channel(b, triangle_info, 0); in insert_traversal_triangle_case() local
1191 nir_store_var(b, inner_vars.primitive_id, primitive_id, 1); in insert_traversal_triangle_case()
1213 nir_store_var(b, vars->primitive_id, primitive_id, 1); in insert_traversal_triangle_case()
1247 nir_ssa_def *primitive_id = nir_channel(b, triangle_info, 0); in insert_traversal_aabb_case() local
1276 nir_store_var(b, inner_vars.primitive_id, primitive_id, 1); in insert_traversal_aabb_case()
[all …]
Dradv_acceleration_structure.h72 uint32_t primitive_id; member
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_vs.cpp154 …m_parent->emit_instruction(new AluInstr(op1_mov, primid[0], m_parent->primitive_id(), AluInstr::la… in finalize()
521 auto primitive_id = value_factory().allocate_pinned_register(0, 2); in do_allocate_reserved_registers() local
522 primitive_id->pin_live_range(true); in do_allocate_reserved_registers()
523 set_primitive_id(primitive_id); in do_allocate_reserved_registers()
547 return emit_simple_mov(intr->dest, 0, primitive_id()); in process_stage_intrinsic()
Dsfn_shader_vs.h40 PRegister primitive_id() const { return m_primitive_id;} in primitive_id() function
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/frag/
Dbarycentric-nv-nopersp.msl22.frag21 …in in [[stage_in]], const device Vertices& _19 [[buffer(0)]], uint gl_PrimitiveID [[primitive_id]])
Dbarycentric-nv.msl22.frag21 …in in [[stage_in]], const device Vertices& _19 [[buffer(0)]], uint gl_PrimitiveID [[primitive_id]])
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/frag/
Dbarycentric-nv-nopersp.msl22.frag21 …in in [[stage_in]], const device Vertices& _19 [[buffer(0)]], uint gl_PrimitiveID [[primitive_id]])
Dbarycentric-nv.msl22.frag21 …in in [[stage_in]], const device Vertices& _19 [[buffer(0)]], uint gl_PrimitiveID [[primitive_id]])
/third_party/mesa3d/src/intel/compiler/
Dgfx6_gs_visitor.h73 src_reg primitive_id; variable
Dgfx6_gs_visitor.cpp132 this->primitive_id = in emit_prolog()
134 emit(GS_OPCODE_SET_PRIMITIVE_ID, dst_reg(this->primitive_id)); in emit_prolog()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.h115 unsigned primitive_id:1; member
Dd3d12_nir_passes.c726 nir_ssa_def *primitive_id; in d3d12_lower_primitive_id() local
736 primitive_id = nir_load_primitive_id(&b); in d3d12_lower_primitive_id()
744 nir_store_var(&b, primitive_id_var, primitive_id, 0x1); in d3d12_lower_primitive_id()
Dd3d12_compiler.cpp730 if (expect->gs.primitive_id != have->gs.primitive_id || in d3d12_compare_shader_keys()
964 key->gs.primitive_id = 1; in d3d12_fill_shader_key()
1098 if (key.gs.primitive_id) { in select_shader_variant()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.h94 struct ir3_instruction *primitive_id; member
Dir3_compiler_nir.c2123 if (!ctx->primitive_id) { in emit_intrinsic()
2124 ctx->primitive_id = in emit_intrinsic()
2127 dst[0] = ctx->primitive_id; in emit_intrinsic()
4348 ctx->primitive_id = in emit_instructions()
4353 ctx->primitive_id = in emit_instructions()
4367 ctx->primitive_id = in emit_instructions()
4650 if (ctx->primitive_id) { in ir3_compile_shader_nir()
4654 struct ir3_instruction *out = ir3_collect(ctx->block, ctx->primitive_id); in ir3_compile_shader_nir()
4869 if (ctx->primitive_id) in ir3_compile_shader_nir()
4870 ctx->primitive_id->dsts[0]->num = regid(0, 2); in ir3_compile_shader_nir()
[all …]
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.h122 out->fragment.primitive_id = pan_preloads(57); in pan_make_preload()
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/
Dgeometry.txt44 dEQP-VK.geometry.basic.primitive_id
/third_party/vk-gl-cts/android/cts/main/vk-master-2019-03-01/
Dgeometry.txt96 dEQP-VK.geometry.basic.primitive_id
/third_party/vk-gl-cts/doc/testspecs/GLES31/
Dfunctional.geometry_shading.txt60 basic.primitive_id cases test functionality of a corresponding built-in
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Dgeometry.txt44 dEQP-VK.geometry.basic.primitive_id
/third_party/vk-gl-cts/android/cts/main/vksc-master/
Dgeometry.txt44 dEQP-VKSC.geometry.basic.primitive_id
/third_party/vk-gl-cts/android/cts/main/vk-master/
Dgeometry.txt196 dEQP-VK.geometry.basic.primitive_id
/third_party/vk-gl-cts/android/cts/main/vksc-main/
Dgeometry.txt196 dEQP-VKSC.geometry.basic.primitive_id
/third_party/vk-gl-cts/external/vulkancts/mustpass/main/vksc-default/
Dgeometry.txt196 dEQP-VKSC.geometry.basic.primitive_id

123