Home
last modified time | relevance | path

Searched refs:pos_w (Results 1 - 4 of 4) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4_visitor.cpp820 src_reg pos_w = pos; in emit_ndc_computation() local
821 pos_w.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W); in emit_ndc_computation()
822 emit_math(SHADER_OPCODE_RCP, ndc_w, pos_w); in emit_ndc_computation()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c1505 LLVMValueRef pos_x, pos_y, pos_z, pos_w; in generate_clipmask() local
1543 pos_w = LLVMBuildLoad2(builder, vec_type, outputs[pos][3], ""); /*w0 w1 .. wn */ in generate_clipmask()
1554 cv_w = pos_w; in generate_clipmask()
1568 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_x , pos_w); in generate_clipmask()
1574 test = LLVMBuildFAdd(builder, pos_x, pos_w, ""); in generate_clipmask()
1581 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_y, pos_w); in generate_clipmask()
1587 test = LLVMBuildFAdd(builder, pos_y, pos_w, ""); in generate_clipmask()
1604 test = LLVMBuildFAdd(builder, pos_z, pos_w, ""); in generate_clipmask()
1610 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_z, pos_w); in generate_clipmask()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_shader.c495 nir_ssa_def *pos_w = nir_channel(&b, intr->src[1].ssa, 3); in radv_force_primitive_shading_rate() local
496 nir_ssa_def *val = nir_bcsel(&b, nir_fneu(&b, pos_w, nir_imm_float(&b, 1.0f)), in radv_force_primitive_shading_rate()
/third_party/glslang/glslang/HLSL/
H A DhlslParseHelper.cpp2189 auto pos_w = handleDotDereference(loc, input, "w"); in transformEntryPoint() local
2191 auto recip_w = intermediate.addBinaryMath(EOpDiv, one, pos_w, loc); in transformEntryPoint()

Completed in 27 milliseconds