Lines Matching defs:of

6 an important part of the API. TGSI is the only intermediate representation
18 Some instructions, like :opcode:`I2F`, permit re-interpretation of vector
23 each of the components of *dst*. When this happens, the result is said to be
39 first). The only source of TGSI_OPCODE_MOV and the second and third
40 sources of TGSI_OPCODE_UCMP are considered to have float type for
52 These opcodes are guaranteed to be available regardless of the driver being
354 .. opcode:: LDEXP - Multiply Number by Integral Power of 2
827 XXX doesn't look like most of the opcodes really belong here.
870 Moves the contents of the source register, assumed to be an integer, into the
884 (regarding range, source of offsets). This instruction ignores the sampler
892 As per NV_gpu_program4, retrieve the dimensions of the texture depending on
895 Also return the number of accessible levels (last_level - first_level + 1)
916 This retrieves the number of samples in the texture, and stores it
931 addressing modes of the sampler and the top level of any mip pyramid are
936 where the magnitude of the deltas are half a texel.
962 .. opcode:: LODQ - level of detail query
979 are implicitly 64-bit, so if fewer than 64 bits of precision are
981 should be shifted up so that the most significant bit of the time
982 is the most significant bit of the 64-bit value.
992 Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?)
1060 The low 32bit of the result is returned.
1092 The low 32bit of the result is returned.
1107 The high 32bits of the multiplication of 2 signed integers are returned.
1122 The high 32bits of the multiplication of 2 unsigned integers are returned.
1232 .. opcode:: IMAX - Maximum of Signed Integers
1245 .. opcode:: UMAX - Maximum of Unsigned Integers
1258 .. opcode:: IMIN - Minimum of Signed Integers
1271 .. opcode:: UMIN - Minimum of Unsigned Integers
1299 .. opcode:: ISHR - Arithmetic Shift Right (of Signed Integer)
1359 Same comparison as SLT but returns integer instead of 1.0/0.0 float
1400 Same comparison as SGE but returns integer instead of 1.0/0.0 float
1441 Same comparison as SEQ but returns integer instead of 1.0/0.0 float
1469 Same comparison as SNE but returns integer instead of 1.0/0.0 float
1524 These opcodes are used for bit-level manipulation of integers.
1528 Like GLSL bitfieldExtract. Extracts a set of bits from the input, and
1529 sign-extends them if the high bit of the extracted window is set.
1542 Like GLSL bitfieldExtract. Extracts a set of bits from the input, without
1556 Like GLSL bitfieldInsert. Replaces a bit region of 'base' with the low bits
1557 of 'insert'.
1570 See SM5 instruction BFREV. Reverses the bits of the argument.
1574 See SM5 instruction COUNTBITS. Counts the number of set bits in the argument.
1576 .. opcode:: LSB - Index of lowest set bit
1578 See SM5 instruction FIRSTBIT_LO. Computes the 0-based index of the first set
1579 bit of the argument. Returns -1 if none are set.
1581 .. opcode:: IMSB - Index of highest non-sign bit
1583 See SM5 instruction FIRSTBIT_SHI. Computes the 0-based index of the highest
1584 non-sign bit of the argument (i.e. highest 0 bit for negative numbers,
1588 .. opcode:: UMSB - Index of highest set bit
1590 See SM5 instruction FIRSTBIT_HI. Computes the 0-based index of the highest
1591 set bit of the argument. Returns -1 if none are set.
1597 in any other type of shader.
1607 Complete the current primitive in the specified vertex stream (consisting of
1614 These opcodes are part of :term:`GLSL`'s opcode set. Support for these
1631 Unconditionally moves the point of execution to the instruction after the
1647 Starts definition of a subroutine. Must have a matching endsub.
1657 Ends definition of a subroutine.
1667 Unconditionally moves the point of execution to the instruction after the
1702 Starts a C-style switch expression. The switch consists of one or multiple
1703 CASE statements, and at most one DEFAULT statement. Execution of a statement
1735 .. opcode:: ENDSWITCH - End of switch
1745 interpolateAt* functions. The first argument of each of these must come from
1870 exponent of its source to ``dst0``, and the significand to ``dst1``, such that
1881 .. opcode:: DLDEXP - Multiply Number by Integral Power of 2
1883 This opcode is the inverse of :opcode:`DFRACEXP`. The second
2114 .. opcode:: I64MIN - Minimum of 64-bit Signed Integers
2122 .. opcode:: U64MIN - Minimum of 64-bit Unsigned Integers
2130 .. opcode:: I64MAX - Maximum of 64-bit Signed Integers
2138 .. opcode:: U64MAX - Maximum of 64-bit Unsigned Integers
2156 .. opcode:: I64SHR - Arithmetic Shift Right (of 64-bit Signed Integer)
2166 .. opcode:: U64SHR - Logical Shift Right (of 64-bit Unsigned Integer)
2297 Those opcodes follow very closely semantics of the respective Direct3D
2323 The 'address' is specified as unsigned integers. If the 'address' is out of
2324 range [0...(# texels - 1)] the result of the fetch is always 0 in all
2328 out of the range then the instruction always returns 0 in all components.
2333 integer). If the value is out of the range of available array indices
2337 semantics of the source address are presented in the table below:
2370 is applied to the level of detail computed as part of the instruction
2425 and cubemaps arrays. For 2D textures, only the addressing modes of the
2426 sampler and the top level of any mip pyramid are used. Set W to zero. It
2431 magnitude of the deltas are half a texel.
2436 Query the dimensions of a given sampler view. dst receives width, height,
2437 depth or array size and number of mipmap levels as int4. The dst can have a
2444 src_mip_level is an unsigned integer scalar. If it's out of range then
2445 returns 0 for width, height and depth/array size but the total number of
2448 src_mip_level and are in the number of texels. For 1d texture array width
2449 is in dst.x, array size is in dst.y and dst.z is 0. The number of mipmaps is
2459 Query the position of a sample in the given resource or render target
2466 of the fragment.
2483 Query the number of samples in a multisampled resource or render target.
2487 dst receives int4 (n, 0, 0, 0) where n is the number of samples in a
2500 .. opcode:: LOD - level of detail
2502 Same syntax as the SAMPLE opcode but instead of performing an actual
2529 The 'address' is specified as a vector of unsigned
2530 integers. If the 'address' is out of range the result
2533 Only the first mipmap level of a resource can be read
2555 The 'address' is specified as a vector of unsigned
2556 integers. If the 'address' is out of range the result
2559 Only the first mipmap level of a resource can be
2577 image resources, .xyz will contain the width/height/layers of the
2578 image, while .w will contain the number of samples for multi-sampled
2588 of the current position in the framebuffer from before this fragment
2633 This opcode suspends the execution of the current thread until all
2634 the remaining threads in the working group reach the same point of
2635 the program. Results are unspecified if any of the remaining
2642 This opcode waits for the completion of all memory accesses based on
2661 These opcodes provide atomic variants of some common arithmetic and
2665 entire execution of the atomic operation. The resource may be a BUFFER,
2666 IMAGE, HWATOMIC, or MEMORY. In the case of an image, the offset works
2847 .. opcode:: VOTE_ANY - Value is set in any of the active invocations
2854 .. opcode:: VOTE_ALL - Value is set in all of the active invocations
2861 .. opcode:: VOTE_EQ - Value is the same in all of the active invocations
2868 .. opcode:: BALLOT - Lanemask of whether the value is set in each active
2875 When the argument is a constant true, this produces a bitmask of active
2901 Explanation of symbols used
2909 :math:`|x|` Absolute value of `x`.
2911 :math:`\lceil x \rceil` Ceiling of `x`.
2916 :math:`\lfloor x\rfloor` Floor of `x`.
2918 :math:`\log_2{x}` Logarithm of `x`, base 2.
2920 max(x,y) Maximum of x and y.
2923 min(x,y) Minimum of x and y.
2926 partialx(x) Derivative of x relative to fragment's X.
2928 partialy(x) Derivative of x relative to fragment's Y.
2949 target Label of target instruction.
2964 of TGSI_FILE.
2966 UsageMask field specifies which of the register components can be accessed
2967 and is one of TGSI_WRITEMASK.
2971 isn't required to give any guarantees of it being preserved across
2989 indirect addressing operands. An ArrayID of zero is reserved and treated as
3000 and will prevent packing of scalar/vec2 arrays and effective alias analysis.
3007 with semantic information consisting of a name and index.
3011 Since its purpose is to link a shader with other stages of the pipeline,
3015 SemanticName field contains the semantic name of the register being declared.
3022 The meanings of the individual semantic names are explained in the following
3030 space coordinate system. After clipping, the X, Y and Z components of the
3038 indicate the top of the window or the bottom depending on the fragment
3041 to the back of the Z buffer. The W component contains the interpolated
3042 reciprocal of the vertex position W component (corresponding to gl_Fragcoord,
3044 the reciprocal of the interpolated value).
3093 of points for rasterization. This label cannot be used in fragment
3124 the contents of the register are undefined.
3134 uses of generic inputs/outputs are texcoords and user-defined values.
3185 contains the index of the viewport (and scissor) to use.
3213 When components of vertex elements are identified this way, these
3222 for all of the vertices in the primitive are < 0.
3223 If a vertex has a cull distance of NaN, that vertex counts as "out"
3227 annotating multiple components of one or more vertex elements with
3231 the maximum number of components that can be used to hold the
3233 which specifies the maximum number of registers which can be
3256 the center of the fragment.
3267 For a system value, the sample mask indicates the set of samples covered by
3334 coordinates of the vertex being processed. This is available in XYZ; W is
3341 outer tessellation levels of the patch. Isoline tessellation will only have XY
3349 inner tessellation levels of the patch. The X value is only defined for
3357 number of vertices provided in the input patch. Only the X value is defined.
3365 some of the logic in those cases. See ``gl_HelperInvocation`` documentation.
3376 For vertex shaders, the zero-based index of the current draw in a
3393 of a grid of thread blocks.
3399 For compute shaders, this semantic indicates the (x, y, z) coordinates of the
3400 current block inside of the grid.
3407 of a block in threads.
3413 For compute shaders, this semantic indicates the (x, y, z) coordinates of the
3414 current thread inside of the block.
3421 an integer of at most 64, as it indicates the width of lanemasks. It does not
3422 depend on the number of invocations that are active.
3428 The index of the current invocation within its subgroup.
3434 A bit mask of ``bit index == TGSI_SEMANTIC_SUBGROUP_INVOCATION``, i.e.
3441 A bit mask of ``bit index >= TGSI_SEMANTIC_SUBGROUP_INVOCATION``, i.e.
3449 A bit mask of ``bit index > TGSI_SEMANTIC_SUBGROUP_INVOCATION``, i.e.
3457 A bit mask of ``bit index <= TGSI_SEMANTIC_SUBGROUP_INVOCATION``, i.e.
3464 A bit mask of ``bit index < TGSI_SEMANTIC_SUBGROUP_INVOCATION``, i.e.
3474 the rasteriser and is one of TGSI_INTERPOLATE_*.
3477 interpolation should be done at, one of ``TGSI_INTERPOLATE_LOC_*``. Note that
3479 interpolate at the sample irrespective of the Location field.
3497 resource can be one of BUFFER, 1D, 2D, 3D, 1DArray and 2DArray.
3500 level) out of UNORM, SNORM, SINT, UINT and FLOAT.
3525 resource can be one of BUFFER, 1D, 2D, 3D, CUBE, 1DArray and
3530 the specified data type from the physical data format of the bound
3534 performed: the values read for each of the channels (X,Y,Z,W) will
3537 performed either: the value of the provided X coordinate will be
3538 interpreted in byte units instead of texel units. The result of
3541 Usage of the STORE opcode is only allowed if the WR (writable) flag
3549 The first member of the dimension is the buffer resource the atomic
3559 This declares two atomics, one at the start of the buffer and one in the
3567 one in buffer 1 at 0, and an array of 3 atomics in
3597 If HALF_INTEGER, the fractionary part of the position will be 0.5
3598 If INTEGER, the fractionary part of the position will be 0.0
3600 Note that this does not affect the set of fragments generated by
3630 Specifies the number of times a geometry shader should be executed for each
3639 Division of X,Y,Z by W and the viewport transformation are disabled, and 1/W is
3640 directly taken from the 4-th component of the shader output.
3642 The effect of this property is undefined if a geometry or tessellation shader
3648 The number of vertices written by the tessellation control shader. This
3649 effectively defines the patch input size of the tessellation evaluation shader
3655 This sets the tessellation primitive mode, one of ``PIPE_PRIM_TRIANGLES``,
3662 This sets the spacing mode of the tessellation generator, one of
3675 which means that points will be generated instead of primitives.
3691 the fragment shader (regardless of fragment shader side effects). Corresponds
3712 of the operands are equal to 0. That means that 0 * Inf = 0. This
3766 or (z, z, z, z) depending on the value of GL_DEPTH_TEXTURE_MODE.