Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device and computer storage medium for verifying shader function

A shader and function operation technology, applied in computing, program control devices, instruments, etc., can solve the problems of multiple pipeline levels and low verification efficiency.

Active Publication Date: 2020-05-19
西安芯云半导体技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above scheme must be executed after the entire graphics rendering pipeline is executed before the output data can be parsed, resulting in many pipeline levels during verification and low verification efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and computer storage medium for verifying shader function
  • Method, device and computer storage medium for verifying shader function
  • Method, device and computer storage medium for verifying shader function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0031] see figure 1 , which shows a computing device 100 capable of implementing embodiments of the invention, which may include, but is not limited to, the following: wireless devices, mobile or cellular telephones (including so-called smart phones), personal digital assistants (PDAs) , video game consoles (including video displays, mobile video game devices, mobile video conferencing units), laptop computers, desktop computers, television set-top boxes, tablet computing devices, e-book readers, fixed or mobile media players, Wait. exist figure 1 In an example, computing device 100 may include a central processing unit (CPU) 102 and system memory 104 communicating via an interconnection path that may include a memory bridge 105 . A memory bridge 105 , which may be, for exa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method and device for verifying a shader function and a computer storage medium. The method can comprise the following steps: running a first shader function through a first shader in front of a slice shader in a graphic rendering pipeline in a GPU for pre-prepared original data for shader function operation; capturing an operation result of the first shader function through a GPU after the operation of the first shader function is completed, and transmitting the operation result to a set cache; simulating and operating the first shader function through a CPU according to the original data, and obtaining a simulation result of the first shader function; reading an operation result of the first shader function in a set cache through a CPU; and comparing, by a CPU, an operation result of the first shader function with a simulation result of the first shader function to verify the first shader function.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of Graphic Processing Unit (GPU), and in particular, to a method, device and computer storage medium for verifying shader functions. Background technique [0002] Currently, in the graphics rendering pipeline, shader Shader functions can be written in a shader language (SL, Shader Language) to implement shader programs of various types of shaders in the graphics rendering pipeline. Since the Shader function runs on the GPU, the verification of the Shader function is more complicated based on the difference in the storage and compilation environment between the CPU and the GPU. [0003] Generally speaking, the current verification scheme for the Shader function is to encapsulate or analyze the final output data of the graphics rendering pipeline, so as to judge whether the execution result of the Shader function used in the processing of the graphics rendering pipeline is correct. In th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/448G06F11/36
CPCG06F9/4482G06F11/3644G06F11/366
Inventor 张斌马栋刘微
Owner 西安芯云半导体技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products