OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SpacingMode
(Results
1 - 9
of
9
) sorted by null
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationUtil.hpp
167
enum
SpacingMode
220
float getClampedTessLevel (const
SpacingMode
mode, const float tessLevel);
221
int getRoundedTessLevel (const
SpacingMode
mode, const float clampedTessLevel);
222
int getClampedRoundedTessLevel (const
SpacingMode
mode, const float tessLevel);
223
void getClampedRoundedTriangleTessLevels (const
SpacingMode
mode, const float* innerSrc, const float* outerSrc, int* innerDst, int* outerDst);
224
void getClampedRoundedQuadTessLevels (const
SpacingMode
mode, const float* innerSrc, const float* outerSrc, int* innerDst, int* outerDst);
225
void getClampedRoundedIsolineTessLevels (const
SpacingMode
mode, const float* outerSrc, int* outerDst);
230
std::vector<tcu::Vec3> generateReferenceTriangleTessCoords (const
SpacingMode
spacingMode
, const int inner, const int outer0, const int outer1, const int outer2);
231
std::vector<tcu::Vec3> generateReferenceQuadTessCoords (const
SpacingMode
spacingMode, const int inner0, const int inner1, const int outer0, const int outer1, const int out (…)
[
all
...]
vktTessellationMiscDrawTests.cpp
60
SpacingMode
spacingMode
;
65
const
SpacingMode
spacingMode
,
70
caseDef.
spacingMode
=
spacingMode
;
75
std::vector<TessLevels> genTessLevelCases (const
SpacingMode
spacingMode
)
91
tessLevels.inner[i] = static_cast<float>(getClampedRoundedTessLevel(
spacingMode
, tessLevelCases[tessLevelCaseNdx].inner[i]));
94
tessLevels.outer[i] = static_cast<float>(getClampedRoundedTessLevel(
spacingMode
, tessLevelCases[tessLevelCaseNdx].outer[i]))
[
all
...]
vktTessellationUtil.cpp
[
all
...]
vktTessellationCoordinatesTests.cpp
62
std::string getCaseName (const TessPrimitiveType primitiveType, const
SpacingMode
spacingMode
)
65
str << getTessPrimitiveTypeShaderName(primitiveType) << "_" << getSpacingModeShaderName(
spacingMode
);
70
const
SpacingMode
spacingMode
)
85
if (
spacingMode
== SPACINGMODE_EQUAL)
99
for (int j = 0; j < 2; ++j) inner[j] = static_cast<float>(getClampedRoundedTessLevel(
spacingMode
, inner[j]));
100
for (int j = 0; j < 4; ++j) outer[j] = static_cast<float>(getClampedRoundedTessLevel(
spacingMode
, outer[j]));
107
inner[0] = static_cast<float>(getClampedRoundedTessLevel(
spacingMode
, inner[0] + 0.1f));
114
if (inner[0] == 1.0f) inner[0] = static_cast<float>(getClampedRoundedTessLevel(
spacingMode
, inner[0] + 0.1f))
[
all
...]
vktTessellationInvarianceTests.cpp
235
const
SpacingMode
spacingMode
,
339
<< getSpacingModeShaderName(
spacingMode
) << ", "
469
SpacingMode
spacingMode
;
500
int multiplePatchReferencePrimitiveCount (const TessPrimitiveType primitiveType, const
SpacingMode
spacingMode
, const bool usePointMode, const float* levels, int numPatches)
504
result += referencePrimitiveCount(primitiveType,
spacingMode
, usePointMode, &levels[NUM_TESS_LEVELS*patchNdx + 0], &levels[NUM_TESS_LEVELS*patchNdx + 2]);
509
int computeMaxPrimitiveCount (const int numPatchesToDraw, const TessPrimitiveType primitiveType, const
SpacingMode
spacingMode
, const bool usePointMode, const float (&singleOuterEdgeLevels)[N]
[
all
...]
vktTessellationCommonEdgeTests.cpp
66
SpacingMode
spacingMode
;
194
<< getSpacingModeShaderName(caseDef.
spacingMode
) << ") in;\n"
478
std::string getCaseName (const TessPrimitiveType primitiveType, const
SpacingMode
spacingMode
, const CaseType caseType)
481
str << getTessPrimitiveTypeShaderName(primitiveType) << "_" << getSpacingModeShaderName(
spacingMode
)
505
const
SpacingMode
spacingMode
= static_cast<
SpacingMode
>(spacingModeNdx);
506
const CaseDefinition caseDef = { primitiveType,
spacingMode
, caseType }
[
all
...]
vktTessellationFractionalSpacingTests.cpp
119
const
SpacingMode
spacingMode
,
125
DE_ASSERT(
spacingMode
== SPACINGMODE_FRACTIONAL_ODD ||
spacingMode
== SPACINGMODE_FRACTIONAL_EVEN);
127
const float clampedLevel = getClampedTessLevel(
spacingMode
, tessLevel);
128
const int finalLevel = getRoundedTessLevel(
spacingMode
, clampedLevel);
136
<< "; final level (clamped level rounded up to " << (
spacingMode
== SPACINGMODE_FRACTIONAL_EVEN ? "even" : "odd") << ") is " << finalLevel
262
const
SpacingMode
spacingMode
,
267
DE_ASSERT(
spacingMode
== SPACINGMODE_FRACTIONAL_ODD || spacingMode == SPACINGMODE_FRACTIONAL_EVEN)
[
all
...]
vktTessellationPrimitiveDiscardTests.cpp
56
SpacingMode
spacingMode
;
71
caseDef.
spacingMode
== vkt::tessellation::SPACINGMODE_FRACTIONAL_ODD);
246
const
SpacingMode
spacingMode
,
251
count += referenceVertexCount(primitiveType,
spacingMode
, true, &attributes[numAttribsPerPrimitive*patchNdx+0], &attributes[numAttribsPerPrimitive*patchNdx+2]);
324
<< getSpacingModeShaderName(caseDef.
spacingMode
) << ", "
389
const int numExpectedVertices = expectedVertexCount(numPrimitives, numAttribsPerPrimitive, caseDef.primitiveType, caseDef.
spacingMode
, attributes);
630
(
SpacingMode
)spacingModeNdx,
640
+ "_" + getSpacingModeShaderName(caseDef.
spacingMode
)
[
all
...]
/external/deqp/modules/gles31/functional/
es31fTessellationTests.cpp
419
enum
SpacingMode
449
static inline const char* getSpacingModeShaderName (
SpacingMode
mode)
474
static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType,
SpacingMode
spacing, Winding winding, bool usePointMode=false)
483
static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType,
SpacingMode
spacing, bool usePointMode=false)
562
static inline float getClampedTessLevel (
SpacingMode
mode, float tessLevel)
575
static inline int getRoundedTessLevel (
SpacingMode
mode, float clampedTessLevel)
592
static int getClampedRoundedTessLevel (
SpacingMode
mode, float tessLevel)
659
static vector<Vec3> generateReferenceTriangleTessCoords (
SpacingMode
spacingMode
, int inner, int outer0, int outer1, int outer2)
673
return generateReferenceTriangleTessCoords(
spacingMode
, spacingMode == SPACINGMODE_FRACTIONAL_ODD ? 3 : 2
[
all
...]
Completed in 121 milliseconds