Lines Matching defs:shader
346 // Adjust shader source to texture format
385 // Build and run shader
398 // Use shader
402 // Pass input sampler/image to shader
408 // Pass committed region width to shader
483 // The fragment shader uses (z * 6) % 6 to calculate a cube face index.
485 // The fragment shader does not modify w for layer selection.
698 /** Writing data to generated texture using compute shader
710 mLog << "Fill Texture with shader [level: " << level << "] - ";
735 std::string shader = stc_compute_textureFill;
737 // Adjust shader source to texture format
752 replaceToken("<INPUT_TYPE>", s.inputType.c_str(), shader);
753 replaceToken("<POINT_TYPE>", s.pointType.c_str(), shader);
754 replaceToken("<POINT_DEF>", s.pointDef.c_str(), shader);
755 replaceToken("<RETURN_TYPE>", s.returnType.c_str(), shader);
756 replaceToken("<RESULT_EXPECTED>", s.resultExpected.c_str(), shader);
757 replaceToken("<SAMPLE_DEF>", s.sampleDef.c_str(), shader);
760 sources << ComputeSource(shader);
762 // Build and run shader
780 mLog << "Compute shader compilation failed (writing) for target: " << target << ", format: " << format
782 << ", shaderSource: " << shader.c_str() << " - ";
863 // Adjust shader source to texture format
906 // Build and run shader
920 // Use shader
924 // Pass input sampler/image to shader
1106 * @return Returns shader source code part that uses lookup function to fetch texel from texture.
1127 * @return Returns shader source token that represent expected lookup result value.