Home
last modified time | relevance | path

Searched refs:clipDistances (Results 1 – 8 of 8) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp1490 std::vector<float> clipDistances(numVerticesPerSection * numSections); in testComplementarity() local
1491 for (int i = 0; i < static_cast<int>(clipDistances.size()); ++i) in testComplementarity()
1492 clipDistances[i] = rnd.getFloat(-1.0f, 1.0f); in testComplementarity()
1504 const Vec4 p0 = Vec4(x, -1.0f, 0.0f, sign * clipDistances[ndxBase + 0]); in testComplementarity()
1505 const Vec4 p1 = Vec4(x, 1.0f, 0.0f, sign * clipDistances[ndxBase + 1]); in testComplementarity()
1506 const Vec4 p2 = Vec4(x + dx, 1.0f, 0.0f, sign * clipDistances[ndxBase + 2]); in testComplementarity()
1507 const Vec4 p3 = Vec4(x + dx, -1.0f, 0.0f, sign * clipDistances[ndxBase + 3]); in testComplementarity()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c413 prog->vp.clip_enable = (1 << info_out.io.clipDistances) - 1; in nv50_program_translate()
415 ((1 << info_out.io.cullDistances) - 1) << info_out.io.clipDistances; in nv50_program_translate()
418 prog->vp.clip_mode |= 1 << ((info_out.io.clipDistances + i) * 4); in nv50_program_translate()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_driver.h199 uint8_t clipDistances; /* number of clip distance outputs */ member
Dnv50_ir_print.cpp1031 INFO(" \"clipDistances\":\"%d\"\n", info_out->io.clipDistances); in nv50_ir_prog_info_out_print()
Dnv50_ir_from_nir.cpp1158 info_out->io.clipDistances = info_out->io.genUserClip; in assignSlots()
1167 info_out->out[i].mask = ((1 << info_out->io.clipDistances) - 1) >> (n * 4); in assignSlots()
1294 info_out->io.clipDistances = nir->info.clip_distance_array_size; in parseNIR()
Dnv50_ir_from_tgsi.cpp1153 info_out->io.clipDistances = info_out->io.genUserClip; in scanSource()
1162 info_out->out[i].mask = ((1 << info_out->io.clipDistances) - 1) >> (n * 4); in scanSource()
1222 info_out->io.clipDistances = prop->u[0].Data; in scanProperty()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.c267 vp->vp.clip_enable = (1 << info->io.clipDistances) - 1; in nvc0_vtgp_gen_header()
269 ((1 << info->io.cullDistances) - 1) << info->io.clipDistances; in nvc0_vtgp_gen_header()
271 vp->vp.clip_mode |= 1 << ((info->io.clipDistances + i) * 4); in nvc0_vtgp_gen_header()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderMiscTests.cpp2052 float clipDistances[4]; in iterate() member