/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRasterizer.cpp | 537 …erizeSingleSample (FragmentPacket* const fragmentPackets, float* const depthValues, const int maxF… in rasterizeSingleSample() argument 611 if (depthValues) in rasterizeSingleSample() 617 depthValues[packetNdx*4+0] = z0[0]*za + z1[0]*zb + zc; in rasterizeSingleSample() 618 depthValues[packetNdx*4+1] = z0[1]*za + z1[1]*zb + zc; in rasterizeSingleSample() 619 depthValues[packetNdx*4+2] = z0[2]*za + z1[2]*zb + zc; in rasterizeSingleSample() 620 depthValues[packetNdx*4+3] = z0[3]*za + z1[3]*zb + zc; in rasterizeSingleSample() 694 …terizeMultiSample (FragmentPacket* const fragmentPackets, float* const depthValues, const int maxF… in rasterizeMultiSample() argument 786 if (depthValues) in rasterizeMultiSample() 799 depthValues[(packetNdx*4+0)*NumSamples + sampleNdx] = z0[0]*za + z1[0]*zb + zc; in rasterizeMultiSample() 800 depthValues[(packetNdx*4+1)*NumSamples + sampleNdx] = z0[1]*za + z1[1]*zb + zc; in rasterizeMultiSample() [all …]
|
D | rrRasterizer.hpp | 135 …void rasterize (FragmentPacket* const fragmentPackets, float* const depthValues, const int … 138 …void rasterizeSingleSample (FragmentPacket* const fragmentPackets, float* const depthValues, c… 141 …void rasterizeMultiSample (FragmentPacket* const fragmentPackets, float* const depthValues, co… 187 …void rasterize (FragmentPacket* const fragmentPackets, float* const depthValues, const i… 234 …void rasterize (FragmentPacket* const fragmentPackets, float* const depthValues, const in…
|
D | rrRenderer.cpp | 1037 const float* depthValues, in writeFragmentPackets() argument 1063 …fragment.sampleDepths = (depthValues) ? (&depthValues[(packetNdx*4 + yo*2 + xo)*numSamples]) : (DE… in writeFragmentPackets() 1309 std::vector<float> depthValues (0); in rasterize() local 1317 depthValues.resize(maxFragmentPackets*4*numSamples); in rasterize() 1318 depthBufferPointer = &depthValues[0]; in rasterize()
|
/third_party/mesa3d/src/mesa/main/ |
D | pixeltransfer.c | 132 GLfloat depthValues[]) in _mesa_scale_and_bias_depth() argument 138 GLfloat d = depthValues[i] * scale + bias; in _mesa_scale_and_bias_depth() 139 depthValues[i] = CLAMP(d, 0.0F, 1.0F); in _mesa_scale_and_bias_depth() 146 GLuint depthValues[]) in _mesa_scale_and_bias_depth_uint() argument 153 GLdouble d = (GLdouble) depthValues[i] * scale + bias; in _mesa_scale_and_bias_depth_uint() 155 depthValues[i] = (GLuint) d; in _mesa_scale_and_bias_depth_uint()
|
D | pixeltransfer.h | 53 GLfloat depthValues[]); 57 GLuint depthValues[]);
|
D | pack.c | 755 depthValues[i] = GLTYPE2FLOAT(value); \ 775 GLfloat *depthTemp = NULL, *depthValues; in _mesa_unpack_depth_span() local 822 depthValues = (GLfloat *) dest; in _mesa_unpack_depth_span() 831 depthValues = depthTemp; in _mesa_unpack_depth_span() 886 depthValues[i] = (value >> 8) * scale; in _mesa_unpack_depth_span() 899 depthValues[i] = value; in _mesa_unpack_depth_span() 918 depthValues[i] = _mesa_half_to_float(value); in _mesa_unpack_depth_span() 936 depthValues[i] = depthValues[i] * scale + bias; in _mesa_unpack_depth_span() 946 depthValues[i] = CLAMP(depthValues[i], 0.0F, 1.0F); in _mesa_unpack_depth_span() 959 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span() [all …]
|
D | readpix.c | 333 GLfloat *depthValues; in read_depth_pixels() local 360 depthValues = malloc(width * sizeof(GLfloat)); in read_depth_pixels() 362 if (depthValues) { in read_depth_pixels() 365 _mesa_unpack_float_z_row(rb->Format, width, map, depthValues); in read_depth_pixels() 366 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing); in read_depth_pixels() 376 free(depthValues); in read_depth_pixels()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawInvertedDepthRangesTests.cpp | 415 std::array<float, 3> depthValues; in generateReferenceImage() local 419 DE_ASSERT(depthValues.size() == kVertices.size()); in generateReferenceImage() 420 …std::transform(begin(kVertices), end(kVertices), begin(depthValues), [](const Vec4& coord) { retur… in generateReferenceImage() 468 const float depth = a * depthValues[0] + b * depthValues[1] + c * depthValues[2]; in generateReferenceImage()
|
D | vktDrawDepthClampTests.cpp | 635 std::string depthValues = ""; in initPrograms() local 637 depthValues += std::to_string(vd.depthValue) + ", "; in initPrograms() 648 " const float depthValues[] = { " + depthValues + " 0.0 };\n" in initPrograms()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsInteractionTestUtil.cpp | 225 static const float depthValues[] = { 0.0f, 0.2f, 0.4f, 0.5f, 0.51f, 0.6f, 0.8f, 0.95f }; in computeRandomQuad() local 243 float depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in computeRandomQuad()
|
D | glsFragOpInteractionCase.cpp | 213 static const float depthValues[] = { 0.0f, 0.2f, 0.4f, 0.5f, 0.51f, 0.6f, 0.8f, 0.95f }; in getRandomDepth() local 214 return rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in getRandomDepth()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTests.cpp | 781 depthValues.push_back(shuffledDepthValues[0]); in TestConfig() 782 depthValues.push_back(shuffledDepthValues[1]); in TestConfig() 798 DepthValuesArray depthValues; member 1380 …hment& attachment, de::Random& rng, deBool useFormatCompCount, const DepthValuesArray& depthValues) in randomClearValue() argument 1398 clearValue.depthStencil.depth = float(depthValues[rng.getBool() ? 1 : 0]) / 255.0f; in randomClearValue() 3338 const DepthValuesArray& depthValues) in clearValueToPixelValue() argument 3349 if (value.depthStencil.depth == float(depthValues[1]) / 255.0f) in clearValueToPixelValue() 3351 else if (value.depthStencil.depth == float(depthValues[0]) / 255.0f) in clearValueToPixelValue() 3438 const DepthValuesArray& depthValues) in renderReferenceValues() argument 3454 …tSize, BVec4(true), clearValueToPixelValue(*imageClearValues[attachmentNdx], format, depthValues)); in renderReferenceValues() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDepthStencilTests.cpp | 260 float depthValues[numL1CellsX*numL1CellsY]; in generateBaseClearAndDepthCommands() local 273 int numValues = DE_LENGTH_OF_ARRAY(depthValues); in generateBaseClearAndDepthCommands() 277 depthValues[ndx] = -1.0f + depthStep*(float)ndx; in generateBaseClearAndDepthCommands() 298 renderCmd.params.depth = depthValues[y1*numL1CellsX + x1]; in generateBaseClearAndDepthCommands() 753 …static const float depthValues[] = { -1.0f, -0.8f, -0.6f, -0.4f, -0.2f, 0.0f, 0.2f, 0.4f, 0.6f, 0.… in randomDepthStencilState() local 776 params.depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in randomDepthStencilState()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fDepthStencilTests.cpp | 260 float depthValues[numL1CellsX*numL1CellsY]; in generateBaseClearAndDepthCommands() local 273 int numValues = DE_LENGTH_OF_ARRAY(depthValues); in generateBaseClearAndDepthCommands() 277 depthValues[ndx] = -1.0f + depthStep*(float)ndx; in generateBaseClearAndDepthCommands() 298 renderCmd.params.depth = depthValues[y1*numL1CellsX + x1]; in generateBaseClearAndDepthCommands() 753 …static const float depthValues[] = { -1.0f, -0.8f, -0.6f, -0.4f, -0.2f, 0.0f, 0.2f, 0.4f, 0.6f, 0.… in randomDepthStencilState() local 776 params.depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in randomDepthStencilState()
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 949.wgsl.expected.glsl | 40 vec2 depthValues;
|
D | 949.wgsl | 31 depthValues : vec2<f32>;
|
D | 949.wgsl.expected.wgsl | 30 depthValues : vec2<f32>;
|
D | 949.wgsl.expected.msl | 38 /* 0x0050 */ float2 depthValues;
|
D | 949.wgsl.expected.spvasm | 46 OpMemberName %Light0 6 "depthValues"
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 4883 const float depthValues[] = { depthValue0, depthValue1 }; in initDepthStencilImageChessboardPattern() local 4972 access.setPixDepth(depthValues[bufferIdx], x, y, 0); in initDepthStencilImageChessboardPattern() 4979 ((float*)depthPtr)[i] = depthValues[bufferIdx]; in initDepthStencilImageChessboardPattern()
|