update Refresh_Driver.h and Refresh.c
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
ce4d294a31
commit
61386a27ba
|
@ -522,14 +522,14 @@ void Refresh_BindFragmentSamplers(
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t Refresh_PushVertexShaderUniforms(
|
void Refresh_PushVertexShaderUniforms(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
void *data,
|
void *data,
|
||||||
uint32_t dataLengthInBytes
|
uint32_t dataLengthInBytes
|
||||||
) {
|
) {
|
||||||
if (device == NULL) { return 0; }
|
NULL_RETURN(device);
|
||||||
return device->PushVertexShaderUniforms(
|
device->PushVertexShaderUniforms(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
commandBuffer,
|
||||||
data,
|
data,
|
||||||
|
@ -537,14 +537,14 @@ uint32_t Refresh_PushVertexShaderUniforms(
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t Refresh_PushFragmentShaderUniforms(
|
void Refresh_PushFragmentShaderUniforms(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
void *data,
|
void *data,
|
||||||
uint32_t dataLengthInBytes
|
uint32_t dataLengthInBytes
|
||||||
) {
|
) {
|
||||||
if (device == NULL) { return 0; }
|
NULL_RETURN(device);
|
||||||
return device->PushFragmentShaderUniforms(
|
device->PushFragmentShaderUniforms(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
commandBuffer,
|
||||||
data,
|
data,
|
||||||
|
@ -558,9 +558,7 @@ void Refresh_DrawInstancedPrimitives(
|
||||||
uint32_t baseVertex,
|
uint32_t baseVertex,
|
||||||
uint32_t startIndex,
|
uint32_t startIndex,
|
||||||
uint32_t primitiveCount,
|
uint32_t primitiveCount,
|
||||||
uint32_t instanceCount,
|
uint32_t instanceCount
|
||||||
uint32_t vertexParamOffset,
|
|
||||||
uint32_t fragmentParamOffset
|
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->DrawInstancedPrimitives(
|
device->DrawInstancedPrimitives(
|
||||||
|
@ -569,9 +567,7 @@ void Refresh_DrawInstancedPrimitives(
|
||||||
baseVertex,
|
baseVertex,
|
||||||
startIndex,
|
startIndex,
|
||||||
primitiveCount,
|
primitiveCount,
|
||||||
instanceCount,
|
instanceCount
|
||||||
vertexParamOffset,
|
|
||||||
fragmentParamOffset
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -580,9 +576,7 @@ void Refresh_DrawIndexedPrimitives(
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
uint32_t baseVertex,
|
uint32_t baseVertex,
|
||||||
uint32_t startIndex,
|
uint32_t startIndex,
|
||||||
uint32_t primitiveCount,
|
uint32_t primitiveCount
|
||||||
uint32_t vertexParamOffset,
|
|
||||||
uint32_t fragmentParamOffset
|
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->DrawIndexedPrimitives(
|
device->DrawIndexedPrimitives(
|
||||||
|
@ -590,9 +584,7 @@ void Refresh_DrawIndexedPrimitives(
|
||||||
commandBuffer,
|
commandBuffer,
|
||||||
baseVertex,
|
baseVertex,
|
||||||
startIndex,
|
startIndex,
|
||||||
primitiveCount,
|
primitiveCount
|
||||||
vertexParamOffset,
|
|
||||||
fragmentParamOffset
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -600,18 +592,14 @@ void Refresh_DrawPrimitives(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
uint32_t vertexStart,
|
uint32_t vertexStart,
|
||||||
uint32_t primitiveCount,
|
uint32_t primitiveCount
|
||||||
uint32_t vertexParamOffset,
|
|
||||||
uint32_t fragmentParamOffset
|
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->DrawPrimitives(
|
device->DrawPrimitives(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
commandBuffer,
|
||||||
vertexStart,
|
vertexStart,
|
||||||
primitiveCount,
|
primitiveCount
|
||||||
vertexParamOffset,
|
|
||||||
fragmentParamOffset
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -621,9 +609,7 @@ void Refresh_DrawPrimitivesIndirect(
|
||||||
Refresh_GpuBuffer *buffer,
|
Refresh_GpuBuffer *buffer,
|
||||||
uint32_t offsetInBytes,
|
uint32_t offsetInBytes,
|
||||||
uint32_t drawCount,
|
uint32_t drawCount,
|
||||||
uint32_t stride,
|
uint32_t stride
|
||||||
uint32_t vertexParamOffset,
|
|
||||||
uint32_t fragmentParamOffset
|
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->DrawPrimitivesIndirect(
|
device->DrawPrimitivesIndirect(
|
||||||
|
@ -632,9 +618,7 @@ void Refresh_DrawPrimitivesIndirect(
|
||||||
buffer,
|
buffer,
|
||||||
offsetInBytes,
|
offsetInBytes,
|
||||||
drawCount,
|
drawCount,
|
||||||
stride,
|
stride
|
||||||
vertexParamOffset,
|
|
||||||
fragmentParamOffset
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -703,14 +687,14 @@ void Refresh_BindComputeTextures(
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t Refresh_PushComputeShaderUniforms(
|
void Refresh_PushComputeShaderUniforms(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
void *data,
|
void *data,
|
||||||
uint32_t dataLengthInBytes
|
uint32_t dataLengthInBytes
|
||||||
) {
|
) {
|
||||||
if (device == NULL) { return 0; }
|
NULL_RETURN(device);
|
||||||
return device->PushComputeShaderUniforms(
|
device->PushComputeShaderUniforms(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
commandBuffer,
|
||||||
data,
|
data,
|
||||||
|
@ -723,8 +707,7 @@ void Refresh_DispatchCompute(
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
uint32_t groupCountX,
|
uint32_t groupCountX,
|
||||||
uint32_t groupCountY,
|
uint32_t groupCountY,
|
||||||
uint32_t groupCountZ,
|
uint32_t groupCountZ
|
||||||
uint32_t computeParamOffset
|
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->DispatchCompute(
|
device->DispatchCompute(
|
||||||
|
@ -732,8 +715,7 @@ void Refresh_DispatchCompute(
|
||||||
commandBuffer,
|
commandBuffer,
|
||||||
groupCountX,
|
groupCountX,
|
||||||
groupCountY,
|
groupCountY,
|
||||||
groupCountZ,
|
groupCountZ
|
||||||
computeParamOffset
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -315,14 +315,14 @@ struct Refresh_Device
|
||||||
Refresh_Sampler **pSamplers
|
Refresh_Sampler **pSamplers
|
||||||
);
|
);
|
||||||
|
|
||||||
uint32_t (*PushVertexShaderUniforms)(
|
void (*PushVertexShaderUniforms)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
void *data,
|
void *data,
|
||||||
uint32_t dataLengthInBytes
|
uint32_t dataLengthInBytes
|
||||||
);
|
);
|
||||||
|
|
||||||
uint32_t (*PushFragmentShaderUniforms)(
|
void (*PushFragmentShaderUniforms)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
void *data,
|
void *data,
|
||||||
|
@ -335,9 +335,7 @@ struct Refresh_Device
|
||||||
uint32_t baseVertex,
|
uint32_t baseVertex,
|
||||||
uint32_t startIndex,
|
uint32_t startIndex,
|
||||||
uint32_t primitiveCount,
|
uint32_t primitiveCount,
|
||||||
uint32_t instanceCount,
|
uint32_t instanceCount
|
||||||
uint32_t vertexParamOffset,
|
|
||||||
uint32_t fragmentParamOffset
|
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*DrawIndexedPrimitives)(
|
void (*DrawIndexedPrimitives)(
|
||||||
|
@ -345,18 +343,14 @@ struct Refresh_Device
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
uint32_t baseVertex,
|
uint32_t baseVertex,
|
||||||
uint32_t startIndex,
|
uint32_t startIndex,
|
||||||
uint32_t primitiveCount,
|
uint32_t primitiveCount
|
||||||
uint32_t vertexParamOffset,
|
|
||||||
uint32_t fragmentParamOffset
|
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*DrawPrimitives)(
|
void (*DrawPrimitives)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
uint32_t vertexStart,
|
uint32_t vertexStart,
|
||||||
uint32_t primitiveCount,
|
uint32_t primitiveCount
|
||||||
uint32_t vertexParamOffset,
|
|
||||||
uint32_t fragmentParamOffset
|
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*DrawPrimitivesIndirect)(
|
void (*DrawPrimitivesIndirect)(
|
||||||
|
@ -365,9 +359,7 @@ struct Refresh_Device
|
||||||
Refresh_GpuBuffer *buffer,
|
Refresh_GpuBuffer *buffer,
|
||||||
uint32_t offsetInBytes,
|
uint32_t offsetInBytes,
|
||||||
uint32_t drawCount,
|
uint32_t drawCount,
|
||||||
uint32_t stride,
|
uint32_t stride
|
||||||
uint32_t vertexParamOffset,
|
|
||||||
uint32_t fragmentParamOffset
|
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*EndRenderPass)(
|
void (*EndRenderPass)(
|
||||||
|
@ -401,7 +393,7 @@ struct Refresh_Device
|
||||||
uint32_t **pLevels
|
uint32_t **pLevels
|
||||||
);
|
);
|
||||||
|
|
||||||
uint32_t (*PushComputeShaderUniforms)(
|
void (*PushComputeShaderUniforms)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
void *data,
|
void *data,
|
||||||
|
@ -413,8 +405,7 @@ struct Refresh_Device
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
uint32_t groupCountX,
|
uint32_t groupCountX,
|
||||||
uint32_t groupCountY,
|
uint32_t groupCountY,
|
||||||
uint32_t groupCountZ,
|
uint32_t groupCountZ
|
||||||
uint32_t computeParamOffset
|
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*EndComputePass)(
|
void (*EndComputePass)(
|
||||||
|
|
Loading…
Reference in New Issue