mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 16:35:36 +00:00
gpu,gpu/internal: move InputDesc back from gioui.org/shader module
It was moved to gioui.org/shader by mistake. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+2
-2
@@ -422,7 +422,7 @@ func newCompute(ctx driver.Device) (*compute, error) {
|
||||
pipe, err := ctx.NewPipeline(driver.PipelineDesc{
|
||||
VertexShader: copyVert,
|
||||
FragmentShader: copyFrag,
|
||||
VertexLayout: []shader.InputDesc{
|
||||
VertexLayout: []driver.InputDesc{
|
||||
{Type: shader.DataTypeFloat, Size: 2, Offset: 0},
|
||||
{Type: shader.DataTypeFloat, Size: 2, Offset: 4 * 2},
|
||||
},
|
||||
@@ -457,7 +457,7 @@ func newCompute(ctx driver.Device) (*compute, error) {
|
||||
pipe, err = ctx.NewPipeline(driver.PipelineDesc{
|
||||
VertexShader: materialVert,
|
||||
FragmentShader: materialFrag,
|
||||
VertexLayout: []shader.InputDesc{
|
||||
VertexLayout: []driver.InputDesc{
|
||||
{Type: shader.DataTypeFloat, Size: 2, Offset: 0},
|
||||
{Type: shader.DataTypeFloat, Size: 2, Offset: 4 * 2},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user