Overview
The test verifies that when ARB_post_depth_coverage is available one can
- use post_depth_coverage layout and gl_SampleMaskIn is affected according
+ use post_depth_coverage layout and gl_SampleMaskIn is affected according
to the extension specification.
Tests
"${VERSION}\n"
"\n"
"layout (local_size_x = ${LOCAL_SIZE}, local_size_y = ${LOCAL_SIZE}, local_size_z = 1) in;\n"
- "layout (${QUALIFIERS}) writeonly uniform highp uimage2DMS uni_image;\n"
+ "layout (${QUALIFIERS}) writeonly uniform highp uimage2DMS uni_image;\n"
"\n"
"void main()\n"
"{\n"
if (m_context_is_es)
{
m_specializationMap["LOCAL_SIZE"] = "16";
- m_specializationMap["QUALIFIERS"] = "binding = 0, r32ui";
+ m_specializationMap["QUALIFIERS"] = "binding = 0, r32ui";
}
else
{
m_specializationMap["LOCAL_SIZE"] = "1";
- m_specializationMap["QUALIFIERS"] = "location = 0";
+ m_specializationMap["QUALIFIERS"] = "location = 0";
}
Program program(gl);
* MAX_TEXTURE_SIZE.
*
* Check that INVALID_VALUE is generated by TextureSubImage1D if
- * xoffset<�b, or if (xoffset+width)>(w�b), where w is the TEXTURE_WIDTH,
+ * xoffset<-b, or if (xoffset+width)>(w-b), where w is the TEXTURE_WIDTH,
* and b is the width of the TEXTURE_BORDER of the texture image being
* modified. Note that w includes twice the border width.
* Check that INVALID_VALUE is generated by TextureSubImage1D if width is
* is greater than log2 max, where max is the returned value of
* MAX_TEXTURE_SIZE.
* Check that INVALID_VALUE is generated by TextureSubImage2D if
- * xoffset<�b, (xoffset+width)>(w�b), yoffset<�b, or
- * (yoffset+height)>(h�b), where w is the TEXTURE_WIDTH, h is the
+ * xoffset<-b, (xoffset+width)>(w-b), yoffset<-b, or
+ * (yoffset+height)>(h-b), where w is the TEXTURE_WIDTH, h is the
* TEXTURE_HEIGHT, and b is the border width of the texture image being
* modified. Note that w and h include twice the border width.
* Check that INVALID_VALUE is generated by TextureSubImage2D if width or
* MAX_TEXTURE_SIZE.
*
* Check that INVALID_VALUE is generated by TextureSubImage3D if
- * xoffset<�b, (xoffset+width)>(w�b), yoffset<�b, or
- * (yoffset+height)>(h�b), or zoffset<�b, or (zoffset+depth)>(d�b), where w
+ * xoffset<-b, (xoffset+width)>(w-b), yoffset<-b, or
+ * (yoffset+height)>(h-b), or zoffset<-b, or (zoffset+depth)>(d-b), where w
* is the TEXTURE_WIDTH, h is the TEXTURE_HEIGHT, d is the TEXTURE_DEPTH
* and b is the border width of the texture image being modified. Note
* that w, h, and d include twice the border width.
* the integer formats in table 8.3 and the internal format is integer.
*
* Check that INVALID_OPERATION error is generated if a pixel pack buffer
- * object is bound and packing the texture image into the buffer’s memory
+ * object is bound and packing the texture image into the buffer's memory
* would exceed the size of the buffer.
*
* Check that INVALID_OPERATION error is generated if a pixel pack buffer
"format is not one of the integer formats in table 8.3 and the internal format is integer.");
/* Check that INVALID_OPERATION error is generated if a pixel pack buffer
- object is bound and packing the texture image into the buffer’s memory
+ object is bound and packing the texture image into the buffer's memory
would exceed the size of the buffer. */
gl.bindBuffer(GL_PIXEL_PACK_BUFFER, buffer);
GLU_EXPECT_NO_ERROR(gl.getError(), "glBindBuffer has failed");
gl.getTextureImage(texture_2D, 0, s_reference_format, s_reference_type, s_reference_size,
glu::BufferOffsetAsPointer(1 * sizeof(GLuint)));
is_ok &= CheckErrorAndLog(m_context, GL_INVALID_OPERATION, "glGetTextureImage",
- "a pixel pack buffer object is bound and packing the texture image into the buffer’s "
+ "a pixel pack buffer object is bound and packing the texture image into the buffer's "
"memory would exceed the size of the buffer.");
gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0);
* Compare the values with expected value.
*
* Repeat the steps for following samplers:
- * - sampler1D,
- * - sampler2D,
- * - sampler3D,
- * - samplerCube,
+ * - sampler1D,
+ * - sampler2D,
+ * - sampler3D,
+ * - samplerCube,
* - sampler2DRect,
- * - sampler1DArray,
- * - sampler2DArray,
+ * - sampler1DArray,
+ * - sampler2DArray,
* - samplerCubeArray
- * expecting (0.0, 0.0, 0.0, 1.0) and:
- * - sampler1DShadow,
- * - sampler2DShadow,
+ * expecting (0.0, 0.0, 0.0, 1.0) and:
+ * - sampler1DShadow,
+ * - sampler2DShadow,
* - samplerCubeShadow,
* - sampler2DRectShadow,
- * - sampler1DArrayShadow,
- * - sampler2DArrayShadow,
- * - samplerCubeArrayShadow
- * expecting 0.0.
+ * - sampler1DArrayShadow,
+ * - sampler2DArrayShadow,
+ * - samplerCubeArrayShadow
+ * expecting 0.0.
*/
class SamplerTest : public deqp::TestCase
{
"void main()\n"
"{\n"
" gl_Position = gl_in[0].gl_Position * (1.0 - gl_TessCoord.x) * (1.0 - "
- "gl_TessCoord.y)\n" /* Specifying the vertex’s position */
+ "gl_TessCoord.y)\n" /* Specifying the vertex's position */
" + gl_in[1].gl_Position * ( gl_TessCoord.x) * (1.0 - "
"gl_TessCoord.y)\n" /* using the bilinear interpolation */
" + gl_in[2].gl_Position * ( gl_TessCoord.x) * ( "
"\n"
"void main()\n"
"{\n"
- " gl_Position = gl_in[0].gl_Position * gl_TessCoord.x\n" /* Specifying the vertex’s position */
+ " gl_Position = gl_in[0].gl_Position * gl_TessCoord.x\n" /* Specifying the vertex's position */
" + gl_in[1].gl_Position * gl_TessCoord.y\n" /* using the barycentric interpolation */
" + gl_in[2].gl_Position * gl_TessCoord.z;\n"
"}\n";
descriptorLayoutParams =
{
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, // VkStructureType sType;
- DE_NULL, // cost void* pNexŧ;
+ DE_NULL, // const void* pNext;
(VkDescriptorSetLayoutCreateFlags)0,
DE_LENGTH_OF_ARRAY(layoutBindings), // deUint32 count;
layoutBindings // const VkDescriptorSetLayoutBinding pBinding;
const VkDescriptorSetLayoutCreateInfo descriptorLayoutParams =
{
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, // VkStructureType sType;
- DE_NULL, // cost void* pNexŧ;
+ DE_NULL, // const void* pNext;
(VkDescriptorSetLayoutCreateFlags)0,
DE_LENGTH_OF_ARRAY(layoutBindings), // deUint32 count;
layoutBindings // const VkDescriptorSetLayoutBinding pBinding;
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, // VkSamplerAddressMode addressModeV;
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, // VkSamplerAddressMode addressModeW;
0.0f, // float mipLodBias;
- VK_FALSE, // VkBool32 anistoropyÉnable;
+ VK_FALSE, // VkBool32 anistoropyEnable;
1.0f, // float maxAnisotropy;
VK_FALSE, // VkBool32 compareEnable;
VK_COMPARE_OP_ALWAYS, // VkCompareOp compareOp;
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, // VkSamplerAddressMode addressModeV;
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, // VkSamplerAddressMode addressModeW;
0.0f, // float mipLodBias;
- VK_FALSE, // VkBool32 anistoropyÉnable;
+ VK_FALSE, // VkBool32 anistoropyEnable;
1.0f, // float maxAnisotropy;
(hasDepthComponent) ? VK_TRUE : VK_FALSE, // VkBool32 compareEnable;
VK_COMPARE_OP_LESS, // VkCompareOp compareOp;
/* According to IEEE Std 754-2008 Section 7.4,
* * roundTiesToEven and roundTiesToAway carry all overflows to Inf with the sign
* of the intermediate result.
- * * roundTowardZero carries all overflows to the format’s largest finite number
+ * * roundTowardZero carries all overflows to the format's largest finite number
* with the sign of the intermediate result.
*/
if (mode == DE_ROUNDINGMODE_TO_ZERO)
/* According to IEEE Std 754-2008 Section 7.4,
* * roundTiesToEven and roundTiesToAway carry all overflows to Inf with the sign
* of the intermediate result.
- * * roundTowardZero carries all overflows to the format’s largest finite number
+ * * roundTowardZero carries all overflows to the format's largest finite number
* with the sign of the intermediate result.
*/
if (mode == DE_ROUNDINGMODE_TO_ZERO)