The present application relates to the field of rasterization technology in
chip design, in particular to an ordered view method based on a
compiler, an electronic device and a storage medium, which obtains unique identifiers of each thread group within a current rendering
target range, and makes the thread groups access the buffer in turn according to the order through the
processing of the global thread group order mark and the
unique identifier of the thread group; each thread group in the target tile
queue distributes the current maximum order mark in the tile and takes it as an execution order mark, and executes and updates the graphic resource in turn according to the order of the execution order mark, so that the order of the thread group accessing the buffer and executing is constrained, the thread groups in the tiles are executed in parallel, and the thread groups in the tiles are executed in series, so that the parallel
advantage of the GPU is fully utilized under the premise of guaranteeing the ordered view, the computing resources are fully utilized, and the rendering efficiency is improved.