mpv-player / mpv-player/mpv

Add support for conditional shader passes, hooks and bindings

Open
#10,047 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

This is obviously a request for the next generation shaders.

It would be nice to be able to define preprocessor macros for shader passes, hooks and bindings. For instance, one might want to run a certain pass only if the source content is in a certain colorspace or they might want to hook different texture stages depending on some criteria etc.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files, tests, or entry points. Start by locating the shader-pass, hook, and binding implementation and reviewing how the next-generation shader system represents these elements; done means conditional macros can control each requested element according to the stated criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.