bias = 0.0
- dst = texture_sample(unit, coord, bias)
+ dst = texture\_sample(unit, coord, bias)
.. opcode:: TXD - Texture Lookup with Derivatives
bias = 0.0
- dst = texture_sample_deriv(unit, coord, bias, ddx, ddy)
+ dst = texture\_sample\_deriv(unit, coord, bias, ddx, ddy)
.. opcode:: TXP - Projective Texture Lookup
bias = 0.0
- dst = texture_sample(unit, coord, bias)
+ dst = texture\_sample(unit, coord, bias)
.. opcode:: UP2H - Unpack Two 16-Bit Floats
bias = src.z
- dst = texture_sample(unit, coord, bias)
+ dst = texture\_sample(unit, coord, bias)
.. opcode:: NRM - 3-component Vector Normalise
lod = src0.w
- dst = texture_sample(unit, coord, lod)
+ dst = texture\_sample(unit, coord, lod)
.. opcode:: PUSHA - Push Address Register On Stack
lod = src0.x
- dst.x = texture_width(unit, lod)
+ dst.x = texture\_width(unit, lod)
- dst.y = texture_height(unit, lod)
+ dst.y = texture\_height(unit, lod)
- dst.z = texture_depth(unit, lod)
+ dst.z = texture\_depth(unit, lod)
.. opcode:: TG4 - Texture Gather
component = src1
- dst = texture_gather4 (unit, coord, component)
+ dst = texture\_gather4 (unit, coord, component)
(with SM5 - cube array shadow)
compare = src1
- dst = texture_gather (uint, coord, compare)
+ dst = texture\_gather (uint, coord, compare)
Integer ISA