mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
ac/shader_info: fix a comment
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
edfd3be77e
commit
e8ba03d32a
1 changed files with 6 additions and 2 deletions
|
|
@ -20,13 +20,13 @@
|
|||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef AC_SHADER_INFO_H
|
||||
#define AC_SHADER_INFO_H
|
||||
|
||||
struct nir_shader;
|
||||
struct ac_nir_compiler_options;
|
||||
|
||||
/* a NIR pass to gather all the info needed to optimise the alloction patterns for the RADV user sgprs */
|
||||
|
||||
struct ac_shader_info {
|
||||
bool needs_push_constants;
|
||||
uint32_t desc_set_used_mask;
|
||||
|
|
@ -42,8 +42,12 @@ struct ac_shader_info {
|
|||
} cs;
|
||||
};
|
||||
|
||||
/* A NIR pass to gather all the info needed to optimise the allocation patterns
|
||||
* for the RADV user sgprs
|
||||
*/
|
||||
void
|
||||
ac_nir_shader_info_pass(struct nir_shader *nir,
|
||||
const struct ac_nir_compiler_options *options,
|
||||
struct ac_shader_info *info);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue