Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp1541 std::vector<float> clipDistances(numVerticesPerSection * numSections); in testComplementarity() local
1542 for (int i = 0; i < static_cast<int>(clipDistances.size()); ++i) in testComplementarity()
1543 clipDistances[i] = rnd.getFloat(-1.0f, 1.0f); in testComplementarity()
1555 const Vec4 p0 = Vec4(x, -1.0f, 0.0f, sign * clipDistances[ndxBase + 0]); in testComplementarity()
1556 const Vec4 p1 = Vec4(x, 1.0f, 0.0f, sign * clipDistances[ndxBase + 1]); in testComplementarity()
1557 const Vec4 p2 = Vec4(x + dx, 1.0f, 0.0f, sign * clipDistances[ndxBase + 2]); in testComplementarity()
1558 const Vec4 p3 = Vec4(x + dx, -1.0f, 0.0f, sign * clipDistances[ndxBase + 3]); in testComplementarity()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/clipping/
DvktClippingTests.cpp1541 std::vector<float> clipDistances(numVerticesPerSection * numSections); in testComplementarity() local
1542 for (int i = 0; i < static_cast<int>(clipDistances.size()); ++i) in testComplementarity()
1543 clipDistances[i] = rnd.getFloat(-1.0f, 1.0f); in testComplementarity()
1555 const Vec4 p0 = Vec4(x, -1.0f, 0.0f, sign * clipDistances[ndxBase + 0]); in testComplementarity()
1556 const Vec4 p1 = Vec4(x, 1.0f, 0.0f, sign * clipDistances[ndxBase + 1]); in testComplementarity()
1557 const Vec4 p2 = Vec4(x + dx, 1.0f, 0.0f, sign * clipDistances[ndxBase + 2]); in testComplementarity()
1558 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/
DvktMeshShaderMiscTestsEXT.cpp2299 float clipDistances[4]; in iterate() member
DvktMeshShaderMiscTests.cpp2096 float clipDistances[4]; in iterate() member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderMiscTestsEXT.cpp2299 float clipDistances[4]; in iterate() member
DvktMeshShaderMiscTests.cpp2096 float clipDistances[4]; in iterate() member