US 11,915,345 B2
Cube mapping using gradients of an input block of fragments
Rostam King, Hertfordshire (GB)
Assigned to Imagination Technologies Limited, Kings Langley (GB)
Filed by Imagination Technologies Limited, Kings Langley (GB)
Filed on Aug. 8, 2022, as Appl. No. 17/883,466.
Claims priority of application No. 2111403 (GB), filed on Aug. 6, 2021.
Prior Publication US 2023/0085561 A1, Mar. 16, 2023
Int. Cl. G06T 11/00 (2006.01); G06F 30/31 (2020.01); G06F 30/392 (2020.01); G06T 1/20 (2006.01)
CPC G06T 11/001 (2013.01) [G06F 30/31 (2020.01); G06F 30/392 (2020.01); G06T 1/20 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method of cube mapping, the method comprising:
receiving fragment coordinates for an input block of fragments and texture instructions for the fragments;
determining, based on gradients of the input block of fragments, whether a first mode of cube mapping or a second mode of cube mapping is to be used, wherein the first mode of cube mapping performs calculations at a first precision for a subset of the fragments and calculations for remaining fragments at a second, lower, precision and the second mode of cube mapping performs calculations for all fragments at the first precision, so as to obtain a determined mode; and
using the determined mode and the gradients to perform cube mapping, wherein if the second mode is used and more than half of the fragments in the input block are valid, the cube mapping is performed over two clock cycles.