Lines Matching defs:sample
342 for (deUint32 sample = 0u; sample < numCoverageSamples; ++sample)
346 if (sample < numColorSamples)
354 if (sample < numDepthStencilSamples)
356 const deUint32 globalSample = sample + numColorSamples * (x + imageSize.x() * y);
367 //! NDC transformation algorithm for sample locations
420 //! Generate NDC space standard sample locations at each framebuffer pixel
489 //! Generate NDC space custom sample locations at each framebuffer pixel, based on the given pixel grid
503 //! Generate subpixel triangles containing the sample position, based on compare data.
511 // For each sample location (in the whole framebuffer), create a sub-pixel triangle that contains it.
546 const deUint32 sample = globalSampleNdx % numCoverageSamples;
548 log << tcu::TestLog::Message << "Incorrect " << sampleDesc << " sample (" << sample << ") at pixel (" << x << ", " << y << ")" << tcu::TestLog::EndMessage;
559 TCU_THROW(NotSupportedError, "framebufferColorSampleCounts: sample count not supported");
562 TCU_THROW(NotSupportedError, "framebufferDepthSampleCounts: sample count not supported");
565 TCU_THROW(NotSupportedError, "framebufferStencilSampleCounts: sample count not supported");
568 TCU_THROW(NotSupportedError, "sampledImageColorSampleCounts: sample count not supported");
571 TCU_THROW(NotSupportedError, "sampledImageDepthSampleCounts: sample count not supported");
574 TCU_THROW(NotSupportedError, "sampledImageStencilSampleCounts: sample count not supported");
576 // This is required to output geometry that is covering a specific sample
602 TCU_THROW(NotSupportedError, (de::toString(format) + ": sample count not supported").c_str());
775 // Data for each sample in each pixel is laid out linearly (e.g 2 samples):
776 // [pixel(0, 0) sample(0)][pixel(0, 0) sample(1)][pixel(1, 0) sample(0)][pixel(1, 0) sample(1)]...
786 << " vec4 color = texelFetch(colorImage, position, sampleNdx);\n" // for non-MS (1 sample) case, sampleNdx = 0 and will instead be LOD = 0
794 << " result |= " << colorBit << ";\n" // Pass, if sample doesn't exist
835 //! Get a compact sample count string in format X_Y_Z
1033 /*use sample shading*/ true, params.useFragmentShadingRate, pSampleLocationsInfo);
1336 // Query state related to programmable sample locations
1357 TCU_THROW(NotSupportedError, "VkSampleLocationsPropertiesAMD: sample count not supported");
1514 // Expect only a matching sample to be lit
1680 checkSampleRequirements(context, params.numColorSamples, params.numDepthStencilSamples, false /* require standard sample locations */);
1896 // Test 1: Per-sample expected value check
2026 // Test a graphics pipeline with varying sample count per color and depth/stencil attachments