Skip to content

Commit

Permalink
Fix the Empty backend
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Jan 20, 2024
1 parent 23e37cb commit 88687aa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Sources/kha/graphics1/Graphics4.hx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ import kha.Blob;
import kha.Color;
import kha.FastFloat;
import kha.Image;
import kha.graphics4.ComputeShader;
import kha.graphics4.ConstantLocation;
import kha.graphics4.IndexBuffer;
import kha.graphics4.MipMapFilter;
import kha.graphics4.PipelineState;
import kha.graphics4.ShaderStorageBuffer;
import kha.graphics4.TextureFilter;
import kha.graphics4.TextureAddressing;
import kha.graphics4.TextureUnit;
Expand Down Expand Up @@ -293,4 +295,16 @@ class Graphics4 implements kha.graphics4.Graphics {
public function maxBoundTextures(): Int {
return 16;
}

public function setShaderStorageBuffer(buffer: ShaderStorageBuffer, index: Int) {

}

public function setComputeShader(shader: ComputeShader) {

}

public function compute(x: Int, y: Int, z: Int) {

}
}

0 comments on commit 88687aa

Please sign in to comment.